; Account: cscott.glm@gmail.com
; Need to create a new key for each "Project", referrer
; for the project should be the customer's Web site.
+; https://accounts.google.com/ServiceLogin
;
-googleMapsApiKey = 'AIzaSyDWgyf8MeYdxZRHaN73O37vFbkhvPjjNhU'
+;googleMapsApiKey = 'AIzaSyDWgyf8MeYdxZRHaN73O37vFbkhvPjjNhU'
+googleMapsApiKey = ''
; General Settings
timezone = America/Detroit
[chuck:common]
+
{include file='admin/member/header.html'}
- <script src="http://maps.googleapis.com/maps/api/js?sensor=true&key={$googleMapsBrowserApiKey}"></script>
+ <script src="http://maps.googleapis.com/maps/api/js?sensor=true&key={$googleMapsBrowserApiKey}"></script>{$googleMapsBrowserApiKey}
{if $haveMemberInfo}
<!-- Delete Member Information dialog -->
var geoCountry = $('#country').find('option:selected').text().trim();
// Assemble address string for
- var geoAddress = '{$member.name}' + ', ' + geoAddr1 + ', ' + geoAddr2 + ', ' + geoCity + ', ' + geoState + ' ' + geoZIP + ', ' + geoCountry;
-
+ var geoAddress = geoAddr1 + ', ' + geoAddr2 + ', ' + geoCity + ', ' + geoState + ' ' + geoZIP + ', ' + geoCountry;
+
// Send to Google Geocoder
geocoder.geocode( { 'address': geoAddress }, function(results, status) {
marker.setPosition( results[0].geometry.location );
// Otherwise tell the user.
- } else {
-alert(status + ' - ' + geoAddress);
+ } else {
$('#mapPosition').html('<span class="glm-notice">Not able to estimate position from the above address.</span>');
}
});