Skip to content

Migration from Gmaps

The Maps module add some new things but also dropped some functions compared to the Gmaps module.

First de-install the Gmaps module (save your API keys to notepad) and install the Maps module.

The following functions are removed

  • Google weather lib (Support will come to Maps)

  • Google panoramio lib

  • Google geometry lib

  • Google drawing lib

  • {error} tag, just check the log in the CP

  • hidden_div param

  • static map option

  • marker:get_elevation (new module for this will come)

  • gesture_handling param (Will come to Maps)

  • KML layer

  • Fusion Table (Will come to Maps)

  • cache_time from the {exp:reinos_maps:map} method

The following functions are changed

  • zoom_control_position has new values topleft topright bottomleft bottomright
  • Infowindow and infobox are replaced by popup:content
  • fit_map is now per map type instead of a global one
  • snazzy_map en styled params are replace for param google_maps:style (Note, you have to use the Google Maps Tile)
  • map_types are replace by tiles
  • map_type_control_position is renamed to tile_control_position
  • marker:label replace by tooltip

The best way to convert the Gmaps to Maps module, is to check every part of your code and check the documentation. Most of the template tags are the same, but its good to check it anyway.