Placemark for navigation

  • hagen_fenris
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 9 months ago #10431 by hagen_fenris
Placemark for navigation was created 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.

More
7 years 9 months ago - 7 years 9 months ago #10439 by Dima
Replied by Dima on topic Placemark for navigation
Hi
If you use placemark list call
wiki.zhuk.cc/index.php/Zh_GoogleMap_Plug...ap_by_Placemark_List
just set Center parameter to your plugin call to placemark ID.
In this case map center will be placemark and your route feature will work correctly (I think, but I have to check :) :) :) )

Don't forget support my developments: post review in JED , donate , help with translation ;)
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
  • Elite Member
More
7 years 9 months ago - 7 years 9 months ago #10441 by hagen_fenris
Replied by hagen_fenris on topic Placemark for navigation
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.
Attachments:
Last edit: 7 years 9 months ago by hagen_fenris.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #10442 by Dima
Replied by Dima on topic Placemark for navigation
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

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 7 years 9 months ago by Dima.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #10443 by Dima
Replied by Dima on topic Placemark for navigation
I fixed it, and in next release it will.
I hope today evening I'll do little release.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • hagen_fenris
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 9 months ago #10450 by hagen_fenris
Replied by hagen_fenris on topic Placemark for navigation
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.

Time to create page: 0.155 seconds

Donate


Go to top