Fixed hdmap tiling and LocationToLatLng

This commit is contained in:
FrozenCow 2011-07-18 03:40:24 +02:00
parent 674b92003c
commit 8b40a9761b
6 changed files with 136 additions and 152 deletions

View file

@ -20,10 +20,7 @@ L.CustomMarker = L.Class.extend({
if (!this._element && this.options.elementCreator) {
this._element = this.options.elementCreator();
// TODO: Pass this fix to Leaflet-dev(s), it may be a bug in Leaflet.
this._element.style.position = 'absolute';
this._element.className += ' leaflet-marker-icon';
this._initInteraction();
}