It is now possible to show the location of the visitor on the map. Its address or coordinates will be entered too in the direction form above the map and in the infowindow of the marker (version >= 3.3).

{mosmap geoloc='1'|geocenter='2'|dir='5'}

 Print 

The geocenter parameter sets the type of centering and zooming:

  • No - no center and zoom based on the geolocation of the visitor.
  • Center (1) - center and zoom based on the geolocation of the visitor. 
  • Bounds (2) - center and zoom based on the geolocation of the visitor and other marker on the page (not for kml).
  • Directions (3) - show directions from visitors location to the defined location.

{mosmap geoloc='1'|geocenter='3'|dir='5'}

 Print 

The icon and the circle can be styles with the following parameyters:

  • geomarkerurl - The url to the icon for showing the location of the user
  • geomarkersizex - The width of the icon for showing the location of the user
  • geomarkersizey - The height of the icon for showing the location of the user
  • geomarkerscaledx - The scaled width of the icon for showing the location of the user
  • geomarkerscaledy - The scaled height of the icon for showing the location of the user
  • geomarkeranchorx - X position within the icon for showing the location of the user
  • geomarkeranchory - Y position within the icon for showing the location of the user
  • geocirclefill - The color of the circle for the accurancy of the user location
  • geocirclestroke - The color of the border of the circle for the accurancy of the user location
  • geocirclestrokeop - The opacity of the circle border for the accurancy of the user location
  • geocirclefillop - The opacity of the circle for the accurancy of the user location
  • geocirclestrokeweight - The border size of the circle for the accurancy of the user location