Zh GoogleMap SimplePlacemark: Difference between revisions
m (Created page with "== Creating Simple Placemark == In previous tutorial we created simple map. Now we will create placemarks. Go to '''Placemarks''' tab. You can see l...") |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
Press New button to create new placemark. | Press '''New''' button to create new placemark. | ||
You'll see placemark detail screen and google request to detect your location (to set center of map for you convenience). | You'll see placemark detail screen and google request to detect your location (to set center of map for you convenience). | ||
Line 17: | Line 17: | ||
Let's create placemark with default properties for all fields. Only define required fields for new placemark (use 2 sliders). | Let's create placemark with default properties for all fields. Only define required fields for new placemark (use 2 sliders). | ||
[[File:GM-Tutorial- | [[File:GM-Tutorial-SimplePlacemark-DefaultPropertyDetails.JPG]] | ||
Set values for fields: | Set values for fields: | ||
Line 23: | Line 23: | ||
* Map Title - select your map | * Map Title - select your map | ||
* Latitude and Longitude set by dragging placemark or clicking on map, or use autocomplete field just above the map | * Latitude and Longitude set by dragging placemark or clicking on map, or use autocomplete field just above the map | ||
* I've filled '''Description''' for more information | |||
[[File:GM-Tutorial- | [[File:GM-Tutorial-SimplePlacemark-DefaultPropertyAppearance.JPG]] | ||
Set values for fields: | Set values for fields: | ||
* Icon Type - select icon for your placemark | * Icon Type - select icon for your placemark | ||
Press Save to save placemark. Close placemark details and call map. | |||
The map looks like | |||
[[File:GM-Tutorial-SimplePlacemark-DefaultProperty-Result.JPG]] | |||
Click on placemark to show InfoWin | |||
[[File:GM-Tutorial-SimplePlacemark-DefaultProperty-ResultInfoWin.JPG]] | |||
And now we change: | |||
* hide map placemark by setting in '''map''' details '''Show Title as Placemark''' to No | |||
* show infowin with placemark details by setting '''Open InfoWin''' to Yes in '''placemark''' details | |||
Now our map is | |||
[[File:GM-Tutorial-SimplePlacemark-PlacemarkWithInfoWin.JPG]] | |||
To add image into placemark set '''URL Image''' field | |||
[[File:GM-Tutorial-SimplePlacemark-PlacemarkWithImage.JPG]] | |||
I've added some text into placemark description field to show what it can be displayed | |||
[[File:GM-Tutorial-SimplePlacemark-PlacemarkWithImage-Result.JPG]] | |||
And in some cases this is not what you want. Let's do some changes. | |||
First of all hide title and description of placemark. Set '''InfoWin Content''' field in placemark details to None. | |||
And enter some text into '''Addition HTML text''' field | |||
[[File:GM-Tutorial-SimplePlacemark-PlacemarkWithAdditionHTML.JPG]] | |||
And add link to our site in '''Appearance''' slider: | |||
* '''URL Site''' | |||
* '''Site Name''' | |||
Now our map is like | |||
[[File:GM-Tutorial-SimplePlacemark-PlacemarkWithAdditionHTML-Result.JPG]] | |||
[[Category:Zh GoogleMap|Placemark]] | |||
[[Category:Zh GoogleMap Tutorial|Placemark]] |
Latest revision as of 11:41, 21 December 2011
Creating Simple Placemark
In previous tutorial we created simple map. Now we will create placemarks.
Go to Placemarks tab.
You can see list of your placemarks.
Press New button to create new placemark.
You'll see placemark detail screen and google request to detect your location (to set center of map for you convenience).
Let's create placemark with default properties for all fields. Only define required fields for new placemark (use 2 sliders).
Set values for fields:
- Title
- Map Title - select your map
- Latitude and Longitude set by dragging placemark or clicking on map, or use autocomplete field just above the map
- I've filled Description for more information
Set values for fields:
- Icon Type - select icon for your placemark
Press Save to save placemark. Close placemark details and call map.
The map looks like
Click on placemark to show InfoWin
And now we change:
- hide map placemark by setting in map details Show Title as Placemark to No
- show infowin with placemark details by setting Open InfoWin to Yes in placemark details
Now our map is
To add image into placemark set URL Image field
I've added some text into placemark description field to show what it can be displayed
And in some cases this is not what you want. Let's do some changes.
First of all hide title and description of placemark. Set InfoWin Content field in placemark details to None.
And enter some text into Addition HTML text field
And add link to our site in Appearance slider:
- URL Site
- Site Name
Now our map is like