Initial Checkin.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
function initialize() {
|
||||
var geocoder = new google.maps.Geocoder();
|
||||
|
||||
geocoder.geocode( { 'address': 'Thorner Straße 1,12623 Berlin'}, function(results, status) {
|
||||
if(status == google.maps.GeocoderStatus.OK) {
|
||||
var myOptions = {
|
||||
zoom: 15,
|
||||
center: results[0].geometry.location,
|
||||
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
||||
mapTypeControl: false,
|
||||
navigationControl: true,
|
||||
navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}
|
||||
};
|
||||
|
||||
var map = new google.maps.Map(document.getElementById("googlemap"), myOptions);
|
||||
|
||||
var marker = new google.maps.Marker({
|
||||
position: results[0].geometry.location,
|
||||
map: map
|
||||
});
|
||||
} else {
|
||||
alert("Geocode was not successful for the following reason: " + status);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
initialize();
|
||||
|
||||
function sending() {
|
||||
var text = "%6D%61%69%6C%74%6F:%6B%6F%6E%74%61%6B%74@%64%69%61%6C%79%73%65%2D%62%65%72%6C%69%6E%2E%6E%65%74";
|
||||
|
||||
location.href = decodeURI(text);
|
||||
|
||||
return true;
|
||||
}
|
||||
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
+38
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user