Last post Mar 29, 2016 08:59 AM by sudip_inn
Mar 23, 2016 06:03 PM|sudip_inn|LINK
i am just forking with leaflet because in future i may have to work.
see few url
if anyone go to that url then must realize user can place marker on map or place square or circle on map. so my question how to save those marker position in db as a result when i will show that map then i can place those marker again on map from db if i
could know their position and saving into db.
if i need to save various marker position in db then how the table structure would look like for sql server. thanks
Mar 24, 2016 04:11 AM|Fei Han - MSFT|LINK
We could find that we could use the following code to create markers on the map from
So, you could store latLng (latitude and longitude) in your database, then you could get latLng of markers and dynamically create markers on the map from client side.
Mar 24, 2016 04:56 AM|sudip_inn|LINK
Sorry it is not so easy. suppose we draw circle just drag it from toolbar on to map. i am looking for a way when we finish drawing circle on map then a event should fire which tell me start and end lat and long which we will store in db as a result to draw
the circle again later with same lat and long.
Mar 25, 2016 02:50 AM|Fei Han - MSFT|LINK
We could use some drawing and editing plugins for Leaflet to draw markers, such as
and you could refer to the following link to get LatLng.
Mar 25, 2016 05:22 PM|sudip_inn|LINK
i am looking for example where user will draw various marker on map and when each marker drawing will be finish then lat and lng will be shown in alert box. please discuss this with code sample if you find any similar. thanks
Mar 29, 2016 08:32 AM|Fei Han - MSFT|LINK
i am looking for example where user will draw various marker on map and when each marker drawing will be finish then lat and lng will be shown in alert box.
Do you check the links in my previous reply? The first link explained how to draw markers on Leaflet maps, and the second link discussed how to get LatLng. Please refer to these two links to create a simple sample to test if you could get LatLng. If the
solution is not working, please share us the code that you have tried, then we will help resolve the specific issue based on your code.
Mar 29, 2016 08:59 AM|sudip_inn|LINK
i have to work on multiple project. right now i am not working with leaflet js. i will let u know later. thanks for your nice support.