ajax - What is the best way to load my own layer from database using leaflet? -


i'm using leaflet , osm, need load own layer on map. i've added function on map moveend event uses ajax, loads layer , adds on map. when move map e.g. right first shows osm image without layer, when stop moving start draw new layer. looks stupid. how fix or best way it?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -