Can i have code for google map connection | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Can i have code for google map connection

9th Jun 2017, 8:39 AM
Ram Charan
6 Antworten
+ 9
look at their Google maps api
9th Jun 2017, 9:33 AM
Ahri Fox
Ahri Fox - avatar
+ 4
Ok but what about a <a> tag added to the page... Otherwise I think Google has supported Maps for other webpages
9th Jun 2017, 9:30 AM
Iwan
Iwan - avatar
+ 4
Required: Leon D == Best Answer✔✔
9th Jun 2017, 10:03 AM
Iwan
Iwan - avatar
+ 3
Asking a lot of work
9th Jun 2017, 9:02 AM
Iwan
Iwan - avatar
+ 2
<!DOCTYPE html> <html> <body> <h1>My First Google Map</h1> <div id="googleMap" style="width:100%;height:400px;"></div> <script> function myMap() { var mapProp= { center:new google.maps.LatLng(51.508742,-0.120850), zoom:5, }; var map=new google.maps.Map(document.getElementById("googleMap"),mapProp); } </script> <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY&callback=myMap"></script> </body> </html
9th Jun 2017, 10:02 AM
Leon D
Leon D - avatar
+ 1
ya ...i need just to acces the google map from my app...by clicking a button
9th Jun 2017, 9:04 AM
Ram Charan