map is showing and files are enqueued and included the right way
This commit is contained in:
11
srcs/plugins/map_prof/mp_init_map.js
Normal file
11
srcs/plugins/map_prof/mp_init_map.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function mp_init_map() {
|
||||
var location = {lat: 38.8833, lng: -77.0167};
|
||||
var map = new google.maps.Map(document.getElementById("map"), {
|
||||
zoom: 12,
|
||||
center: location
|
||||
});
|
||||
var marker = new google.maps.Marker({
|
||||
position: location,
|
||||
map: map
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user