-
Zh GoogleMap
-
Plugin
-
Placemark for navigation
Placemark for navigation
-
hagen_fenris
-
Topic Author
-
Offline
-
Elite Member
-
Less
More
-
Posts: 264
-
Thank you received: 1
-
-
7 years 9 months ago #10431
by hagen_fenris
Hi,
i`m showing a single placemark inside my article using the plugin-call using the placemark-list to choose a specific map.
Under tha map to geolocation and navigation-bar is enabled to allow planing a route to the placemark.
Unless the placemark is selected and choosen as destination, the navigation routes to the center of the mpa, which is specified in map details.
Is there a way to automaticly assign the placemark as destination, so only the starting point has to be set by the user?
regards
matthias
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago - 7 years 9 months ago #10439
by Dima
Last edit: 7 years 9 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
hagen_fenris
-
Topic Author
-
Offline
-
Elite Member
-
Less
More
-
Posts: 264
-
Thank you received: 1
-
-
7 years 9 months ago - 7 years 9 months ago #10441
by hagen_fenris
Hi,
i´ve added the plugin-call like this:
{zhgooglemap-markerlist:4316;6;16;donotchange;donotchange;300px;4316}
At placemark ID4316 is set this:
If i use the touring-box, it navigates me to the map center defined at map ID6, instead to the placemark.
Last edit: 7 years 9 months ago by hagen_fenris.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago - 7 years 9 months ago #10442
by Dima
1-st.
You have errors in call
{zhgooglemap-markerlist:4316;6;16;donotchange;donotchange;300px;4316}
You have to call
{zhgooglemap-markerlist:4316;6;16;do not change;do not change;300;4316}
Ie you have to write "do not change" with spaces and without px
2-nd
One question. Do map with id 6 has dinamic loading map objects enabled? If yes, try to set it off and try.
I think there is a little bug when enabled this feature.
To fix it you can - disable ajax loading map objects, but enable ajax loading infowin content. In this case I set placemark as map center and create it in page body, but large infowin content can be loaded by jquery
Last edit: 7 years 9 months ago by Dima.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
7 years 9 months ago #10443
by Dima
I fixed it, and in next release it will.
I hope today evening I'll do little release.
Please Log in or Create an account to join the conversation.
-
hagen_fenris
-
Topic Author
-
Offline
-
Elite Member
-
Less
More
-
Posts: 264
-
Thank you received: 1
-
-
7 years 9 months ago #10450
by hagen_fenris
Hi,
changed the plugin-call:
{zhgooglemap-markerlist:4316;6;16;do not change;do not change;300;4316}
Navigation still uses the lat/lng from map-details.
When disabling dynamic loading for map objects, it works.
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Plugin
-
Placemark for navigation
Time to create page: 0.080 seconds