Answer the question
In order to leave comments, you need to log in
How to style google maps using Gmap js?
Hello.
Created a map using Gmap JS:
(function($) {
var map;
$(document).ready(function(){
prettyPrint();
map = new GMaps({
div: '#map',
lat: 43.591655,
lng: 39.715146
});
map.addMarker({
lat: 43.591655,
lng: 39.715146,
title: 'Тест',
}
}
})
});
})(jQuery);
[
{
"featureType": "water",
"elementType": "geometry",
"stylers": [
{ "visibility": "on" },
{ "color": "#2c5278" }
]
},{
"featureType": "water",
"elementType": "labels.text.fill",
"stylers": [
{ "color": "#251725" }
]
},{
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question