Help: Map Settings |
Map Key
As of June 2016, you must get a map key from Google in order to use Google Maps on your site. You can obtain a key here: https://developers.google.com/maps/documentation/javascript/get-api-key#key. After you receive your key, paste it into the Map Key field on the TNG Map Settings page. If later you decide not to use Google Maps, simply remove the key from this field and the maps and map-related fields will no longer display. More information on getting started with Google Maps can be found on the TNG Wiki: http://tng.lythgoes.net/wiki/index.php/Google_Maps_-_Getting_Started. Map TypeChoose which type of map will be displayed first: Terrain, Road Map, Satellite or Hybrid (a satellite image with streets laid out on top). Starting Latitude, Starting LongitudeThese coordinates determine where the default "center" of the map is for any place that does not yet have any assigned coordinates. The pin will start at that location. Starting ZoomThis number indicates how close up or far away new Google Maps in the Admin area should be displayed to begin with. Lower numbers mean that the view is farther away, while higher numbers mean the view is closer. Once the zoom is saved for a particular map, it will be saved with that map. Location ZoomThis number indicates how close up or far away a Google Map in the Admin area should be displayed after a location is searched for and located. Dimensions, Individual PageEnter the dimensions (width must be in pixels with "px" at the end, or as a percentage; height must be in pixels with "px" at the end) for the map displayed on each person's individual page. For example, to make the map be 500 pixels high, set the Height to 500px. To make the map reach 80 percent of the way across the allotted area, set the Width to 80%. Dimensions, Headstones PagesEnter the dimensions for the maps displayed on all headstone-related pages (width must be in pixels with "px" at the end, or as a percentage; height must be in pixels with "px" at the end) Dimensions, Admin PagesEnter the dimensions for the maps displayed on all Admin pages (width must be in pixels with "px" at the end, or as a percentage; height must be in pixels with "px" at the end). Hide Admin Maps to StartTo hide the maps on the Admin pages until the Show/Hide button is clicked, select Yes here. To have the maps displayed by default when the pages are displayed, select No. Hide Public Maps to StartTo delay loading the map on the individual person pages until the user calls for it, select Yes here. This will allow the page to load more quickly. The map will be loaded as soon as the Show the map button is clicked. If you select No, then the map on the person page will always load be shown when the page loads. Consolidate Duplicate PinsIf multiple events for an individual occurred at the same location, setting this option to Yes will prevent duplicate pins from being created for non-unique place names. Note: Setting this option to No will cause duplicate pins to obstruct each other. Place Levels Pins: Labels and ColorsEach geocode location can be associated with one of six Place Levels (e.g., Location, Town/City, County/Shire, etc.). The labels for these levels can be found in the "alltext.php" file in each language folder, and you may override them in your "cust_text.php" file (also in each language folder). The pin colors are determined by values set in mapconfig.php. If you would like to change the pin colors, go to the TNG downloads page and download the full palette of 216 different pin colors, then open your mapconfig.php file in a text editor and enter the number of the new pin color next to the corresponding place level variable. Finally, upload the new pin image file(s) to the googlemaps folder on your site. |