Zh GoogleMap LoadPlacemarks: Difference between revisions

From Documentation
Jump to navigation Jump to search
(Created page with "== Prepare and Load Placemark Data ==")
 
mNo edit summary
Line 1: Line 1:
== Prepare and Load Placemark Data ==
== 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

Revision as of 10:53, 19 July 2012

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