Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Google map to come an MVC view page
Nagarjuna Naga
Nov 4 2016 5:26 AM
250
Reply
i have an error when i am keeping api key also its not showing map..but without apikey its showing output
my code is:
<script>
function myMap() {
var mapCanvas = document.getElementById("map");
var mapOptions = {
center: new google.maps.LatLng(51.5, -0.2),
zoom: 10
}
var map = new google.maps.Map(mapCanvas, mapOptions);
}
</script>
<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyAEPqUnY2L-pAfri4Qk-BwcyUzu5IMTf6w"></script>
</body>
</html>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to replace parameters within the nested folder of projec
What are Design Patterns?