Made the polyLines Array a global so its not declared in this function function drawLines(userID, createdOn)įor (var i = itemsCounter i < msg. However, it won’t share your location with any of your friends. With this method, Snapchat can still access your location. Tap on the Settings icon on the top-right corner. These location-based stories can now be embedded online, like I did. Head over to the bottom-left corner and select the Snap Map feature. WATCH: What does Snap Map do It also lets people share their exact. Snap Snap’s second major push to make its content available outside of its app comes today in the form of Snap Maps. I had trouble finding other people with the same problem.īelow is the function I use to draw the polylines. Snap Map was launched on 21 June and lets people browse a map of photos and videos that have been shared publicly. According to Dao, 200 million Snapchatters are out and about using Snap Map (it’s now up to 250 million). I have tried directionsService between the points on the map but it seems it has a limit of 8 or 10. As background, Snap Map geo-tags users and their Snaps on a map interface. Also in the future I want to calculate the distance traveled with a good accuracy. I would like these polylines to snap to the closest road so that on the map the polylines are on the road and not next to it on corners etc. You can image I can have hundreds or even thousands of points on the map, with the code below it draws polylines between the points relatively smooth, even in large numbers. Every 100 meters a gps location is logged in the database. Now i am working to show this on a website with google maps. Been stuck on this one for a while now, I have been working on an system that tracesĭrivers trough an app on their mobile phone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |