Hi,
We are using the openstreetmaps option for the phoca maps.
And it is generally working ok - however, all the markers added by another user in the system are only appearing as white dots on the map - instead of the usual blue arrow 'thing' with the white dot in the middle. The markers added by me are all displaying as expected.
I have carefully looked at the settings and can't see any difference between the map markers he has placed and those I have placed.
Any tips?
See the issue at https://stepforward.com.au/where-to-buy ... m-a-doctor - the white dots are in the western part of Australia in particular.
Openstreetmaps marker issue
- Benno
- Phoca Hero
- Posts: 9451
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Openstreetmaps marker issue
Hi,
in the source code, the non-functioning and the functioning markers look quite different.
non-functioning:
functioning:
So try to compare the marker settings once more...
Kind regards,
Benno
in the source code, the non-functioning and the functioning markers look quite different.
non-functioning:
Code: Select all
<div class="awesome-marker-icon-blue awesome-marker leaflet-zoom-animated leaflet-interactive" style="margin-left: -17px; margin-top: -42px; width: 35px; height: 45px; transform: translate3d(155px, 293px, 0px); z-index: 293;" tabindex="0"><i style="color: #ffffff" class=" fa fa-circle "></i></div>
Code: Select all
<img src="https://stepforward.com.au/media/com_phocamaps/js/leaflet/images/marker-icon-2x.png" class="leaflet-marker-icon leaflet-zoom-animated leaflet-interactive" style="margin-left: -12px; margin-top: -41px; width: 25px; height: 41px; transform: translate3d(383px, 309px, 0px); z-index: 309;" alt="" tabindex="0">
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 8
- Joined: 12 Jan 2018, 07:39
Re: Openstreetmaps marker issue
HI,
Thanks for your help - I double and triple checked the marker settings and they are identical.
The only difference is that the markers that work were created by one user - the other set, by another user.
Do you have any clues for me as I'm stuck?
Thanks for your help - I double and triple checked the marker settings and they are identical.
The only difference is that the markers that work were created by one user - the other set, by another user.
Do you have any clues for me as I'm stuck?
-
- Phoca Newbie
- Posts: 3
- Joined: 27 Nov 2018, 16:44
Re: Openstreetmaps marker issue
If the new markers have been added since an upgrade (or change from Google maps to Open Street map? - I've did both so I'm not sure which change was important) and you are using a Retina Display (or one that is detected as Retina) the issue maybe the same as the one I have discovered.. See viewtopic.php?f=38&t=59413 (Marker not showing on Andriod Phone.)
New markers are generated differently to old ones and so the code is different.
The css file refers to image files that doesn't exist when using Retina. I have found a workaround - there may be others.
New markers are generated differently to old ones and so the code is different.
The css file refers to image files that doesn't exist when using Retina. I have found a workaround - there may be others.