Development Scratchpad
GG - Property Content - Location Changes
- Configuration - GMap : admin/config/services/gmap
Set Google Maps API Key - Configuration - GMap Location : admin/config/services/gmap_location
User Map Macro: [gmap |id=usermap|center=40,0|zoom=3|width=100%|height=400px]
Node Map Macro: [gmap |id=nodemap|center=40,0|zoom=10|width=100%|height=400px] - Configuration - Location
- Enable the display of locations
- Display province/state code (need to play with this)
- Use a Google Map to set latitude and longitude https://www.drupal.org/node/1921872
- Map link: opne map link in new window
- Geocoding Options - set Google Maps for UK
- Property Content Type: Location
- Label: Location
- Machine Name : field_location
- Field Type: Location
- Widget : Lacation Field
- Property Content Type: Location Field Settings - Collection Settings
- Lcation Name : Do Not Collect
- Street : Allow
- City: Allow
- Additional: Allow (replacement for State/Province)
- State/Province : Do Not Collect (fails on search if UK distict selected)
- Postal code: Require
- Country: Force Default = United Kingdom
- Coordinate Chooser: Allow
- Property Content Type: Location Field Settings - Display Settings
- Hide the following: Location name, Country, Coordinates
- Manage Display - Location Format = Address with map