I'm currently working on a map project that involves multiple map pointers (7).
By using the code below, I have successfully positioned them correctly:
<div style="position:relative; left: 0; top: 0;">
<img src="images/JCCareas.png" class="img-responsive" style="position:relative; left: 0; top: 0;" alt="Map" />
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 375px; top: 455px;" alt="target Solihull" title="Solihull"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 320px; top: 250px;" alt="target Sheldon"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 490px; top: 520px;" alt="target Knowle"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 290px; top: 365px;" alt="target Olton"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 575px; top: 390px;" alt="target Hampton-In-Arden"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 560px; top: 80px;" alt="target Coleshill"/>
<img src="images/JCCtarget.png" class="img-responsive" style="position:absolute; left: 460px; top: 215px;" alt="target Marston Green"/>
</div>
The map itself is responsive, but the map markers are not. I've attempted various CSS techniques without much success in making them responsive.
These are the CSS methods I've tried:
#under-image {
position: relative;
display: inline;
}
#over-image {
position:absolute;
left:33%;
top:43%;
max-width: 10%;
}
Any assistance or guidance on this issue would be greatly appreciated.