For creating own <div>
in my google maps api I have used RichMarker library, documentation here: (link) and library here: (link). So my code look like this:
for(i = 0; i < location.length; i++){
var loc = location[i];
var coordinates = new google.maps.LatLng(loc[1], loc[2]);
var marker = new RichMarker({
position: coordinates,
map: map,
zIndex: coordinates[3],
content: '<div class="myClass">TEXT</div>'
});
}
Now code above draw a shadow around my div (this is not my css, that draw a shadow, I gues that it is css from RichMarker library). Here is a picture:
My question is: How to remove this shadow'
Realy thanks for help.
Have you tried:
var marker = new RichMarker({
position: coordinates,
map: map,
zIndex: coordinates[3],
shadow: 'none',
content: '<div class="myClass">TEXT</div>'
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With