zoom in / zoom out | map width

  • hagen_fenris
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 years 8 months ago - 10 years 8 months ago #4589 by hagen_fenris
zoom in / zoom out | map width was created by hagen_fenris
Hi,
if a click a placemark-icon on the map, the maps zooms in and displays a close-up of the placemark and the infowin.
Is there a way, the map zooms out to the last position i clicked the placemark-icon, if i close the infowin?

Click placemark > map zooms to the placemark and displays infowindow > close infowindow > maps zooms out to last position.

I created menu-items to show the map.
There are options for the height and width of the map.
Are these to set in px or % für dynamic width??

Regards
Fenris
Last edit: 10 years 8 months ago by hagen_fenris.

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

More
10 years 8 months ago #4602 by Dima
Replied by Dima on topic zoom in / zoom out | map width
Hi. You can't manage zoom out.
You can set Zoom by Click - and when click on placemark - zoom chznged

As for % width.
You can set width 0, it mean 100% width, it will fit your container.
If you set your %, you can create custom html module, create your div there, apply any styles and publish map into this div by plugin.
You can set CSS class for map, and apply your styles for that class into your template

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.

Time to create page: 0.169 seconds
Powered by Kunena Forum