migrate

How-to migrate to ATGoogleMaps 0.5 from ATGoogleMaps 0.4.1 or lower.

takanori

migration

  1. Install ATGoogleMaps 0.5 in your zope Products folder.
  2. resart zope.
  3. Site Setup -> Add/Remove Products -> Click ATGoogleMaps upgrade link for reinstall.

    Reinstall ATGoogleMaps

  4. Finally, execute ATGoogleMaps data migration code on your web browser.

    Input URL like ${portal_url}/migrate_latlng_field to web browser.

    ex: http://www.example.com/plone/migrate_latlng_field

    Execute migrate script

Migration of ATGooglemaps is finished. Please chekc that the map is normally displayed.

change zoom level

If you upgrade from ATGoogleMaps 0.3.1 or lower(It user Google Maps API Version 1), change zoom level.

You can convert between old and new zoom levels with the following formula:

newZoom = 17 - oldZoom

Change zoom value

ref: Zoom Level Order - Google Maps API Version 2 Upgrade Guide