22
Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, [email protected] XiaoHang Zou, [email protected]

Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Embed Size (px)

DESCRIPTION

MAP CONTENT

Citation preview

Page 2: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Implementations

Map content•Create your own map•Design and share maps in groupMap display•Display map on homepage•Admin map easily

Location map•Mark all users

Page 3: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

MAP CONTENT

Page 4: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Map content

• Map content module provides implementations for all user in Drupal to create their own Google maps as they like.

• What can you do with map content?– Create a map, search and locate the place.– Add markers with various icon selections, info

bubbles. – Marker category functions.

Page 5: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Create your first map• Step 1

Click: Create content -> Google Map Content • Step 2 Search a location

Put an address (e.g. Espoo) on search bar, and click Search

Show the detail address info of current location.

Page 6: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 3 Set basic info.

The system adjusts the map automatically when map basic information is changing.

• Step 4Fine-tune the location on map by dragging the map canvas, changing zoom and map type.

Don’t forget to general new map info

Map canvas size

Center coordinate

Map type:•Normal•Satellite•Hybrid (normal + satellite)

Page 7: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 5 Click Add marker

A new marker will display on map center• Step 6

Placed the marker in a suitable place

• Step 7 - Edit the marker information

Step 6

Step 5

Step 7

Page 8: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Change the marker typeClick the icon image to change the marker type.

• Save or discard the marker If the users are not satisfied with the marker’s place or

anything else, they can drag or discard the marker.• Add Tab to the marker

Step 7 – Change marker type

Step 7 – input tab name

Page 9: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 8The markers will be displayed on the map

Step 8 - show markers on the map

Step 7 – Edit tab contentStep 7 – Final version

Page 10: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 9Click the marker to get the information, edit or remove.

• Step 10 - Edit the index of markers.

Step 9

Step 10

Step 10The marker index will change when user Add Edit or Remove a marker. User can click the edit button to change the content of the marker. The index is used for explaining the markers on the map.

Page 11: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

MAP DISPLAY

Page 12: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Map Display Module

• Map Display module supports functions to design a complex map with multiple ways to show variety information for a web site.

• You don’t need to type any code, you don’t need to know javascript, just configure the setting like other module’s way.

Page 13: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Configure map display module• Step 1 Go: Home » Administer » Site configuration » Home page map settings » Map Setting

• Step 2 Fill in the form

Basic Information Markers list Images list

Page 14: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 4 Click Preview : preview the map Click Save : save map info

Page 15: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Configure map display module – add marker• Step 1 Click tab Add marker

• Step 2 Fill the form

Page 16: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

• Step 3 Set icon (3 ways):

– URL link– Upload new image– Select form existing image

GPoint X: x coordinate relative to marker dot GPoint Y: y coordinate relative to marker dot• Step 4 Design on click action:

– No action– Show Google map info window– Show custom info tab– Load a new map

• Step 5 Set on click icon (similar to Step 3)

Configure map display module – add marker

Page 17: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Configure map display module – add marker

Google info window

Information Tab

Load a new map

Page 18: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Add image provide a way to add an unmovable image overlay on the map.• Step 1 Click Home » Administer » Site configuration » Home page map settings » Add image

• Step 2 GPoint X: x coordinate relative to lower-left corner GPoint Y: y coordinate relative to lower-left corner

Configure map display module – add image

Page 19: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

LOCATION MAP

Page 20: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Location map module

• Locate all users on map,• Search users by name or address

Page 21: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Locate your location• Step 1 Account > Edit > Location > Add new location

• Step 2 Fill in a location, and search it.

Page 22: Implementation of Google Map in Drupal Create in 26.03.2010 Miyula Zeng, XiaoHang Zou,

Locate your location• Step 3

Drag the marker to the place you are in. The current location of the markeris showed below the search box• Step 4 Select the country you are in.• Step 5 Fill in the address