Zh GoogleMap LoadPlacemarks

From Documentation
Revision as of 10:53, 19 July 2012 by Admin (talk | contribs)
Jump to navigation Jump to search

Prepare and Load Placemark Data

For example, you have a lot of placemarks, and want to load it into Zh GoogleMap extension.

In this case we will use PHPAdmin (or others interface to connect to your database for loading data)

Lets prepare data for loading.

You can use any text editor, or prepare it in MS Excel (like csv format).

For loading data today you have to load this minimum data

  • title - Placemark title
  • latitude - optional
  • longitude - optional
  • addresstext - optional - Address, defined by text
  • mapid
  • icontype

And special values for placemark attributes

  • published
  • baloon - field Marker, values
    • 1 - Drop
    • 2 - Bounce
    • 3 - Simple
  • markercontent - field InfoWin Content, values
    • 0 - Title and Description
    • 1 - Title
    • 2 - Description
    • 100 - None

If you wish

  • description - Placemark Description
  • descriptionhtml - Addition HTML text