Can you programatically draw pins (Markers) by distance on a Custom Google Map routegoogle maps location on route after x amount of milesHow to get the coordinates list of a route atleast for every 10-20 metres?Google Maps JS API v3 - Simple Multiple Marker Exampleremove route with google mapStarting Google Maps App with provided location and markerRemoving routes rendered on a Google MapDraw a route on google map on clickHow to draw a shape on a Google Map and get the area for that shapeGoogle Maps API V3 and Airline Route MapLoading 100-200K markers on google mapgoogle map marker is not pinning properlyMultiple markers with google maps API route, drawn by distance
Reason why a kingside attack is not justified
Travelling in US for more than 90 days
What is the purpose of using a decision tree?
Are hand made posters acceptable in Academia?
How do I lift the insulation blower into the attic?
Trouble reading roman numeral notation with flats
Why is participating in the European Parliamentary elections used as a threat?
Relations between homogeneous polynomials
A seasonal riddle
What is the period/term used describe Giuseppe Arcimboldo's style of painting?
Why can't I get pgrep output right to variable on bash script?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
"Marked down as someone wanting to sell shares." What does that mean?
Taking the numerator and the denominator
Can a Knock spell open the door to Mordenkainen's Magnificent Mansion?
What (if any) is the reason to buy in small local stores?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
What should be the ideal length of sentences in a blog post for ease of reading?
When is the exact date for EOL of Ubuntu 14.04 LTS?
How would a solely written language work mechanically
Offset in split text content
Is there any common country to visit for persons holding UK and Schengen visas?
Unfrosted light bulb
Asserting that Atheism and Theism are both faith based positions
Can you programatically draw pins (Markers) by distance on a Custom Google Map route
google maps location on route after x amount of milesHow to get the coordinates list of a route atleast for every 10-20 metres?Google Maps JS API v3 - Simple Multiple Marker Exampleremove route with google mapStarting Google Maps App with provided location and markerRemoving routes rendered on a Google MapDraw a route on google map on clickHow to draw a shape on a Google Map and get the area for that shapeGoogle Maps API V3 and Airline Route MapLoading 100-200K markers on google mapgoogle map marker is not pinning properlyMultiple markers with google maps API route, drawn by distance
When going to the Google website and signin in you can click on the “Maps” option from the toolbar menu at the top of the page. Click on the “My Places” button and choose “Create Map.”
There you can select to trace a route, for example, this map: https://maps.google.com/maps/ms?msid=204898944445262337567.0004d03638beb43c93029&msa=0&ll=6.235122,-75.536343&spn=0.003088,0.004823
There's some know way that via JS (other languages are also welcome) , i could put a Pin (Marker) let say, 50 mts from the start of the route i traced? There are some distance data of the route within google, but i haven't found a good tutorial, or any answer on how doing this with these maps.
BTW, I can programatically draw a route and throw the Markers via code this way calculating the distance of the earth, but the thing is that the maps that i'm getting to start with are like the one in the link i wrote before, so the route is actually made by anyone.
Thanks.
google-maps maps google-maps-markers routes
add a comment |
When going to the Google website and signin in you can click on the “Maps” option from the toolbar menu at the top of the page. Click on the “My Places” button and choose “Create Map.”
There you can select to trace a route, for example, this map: https://maps.google.com/maps/ms?msid=204898944445262337567.0004d03638beb43c93029&msa=0&ll=6.235122,-75.536343&spn=0.003088,0.004823
There's some know way that via JS (other languages are also welcome) , i could put a Pin (Marker) let say, 50 mts from the start of the route i traced? There are some distance data of the route within google, but i haven't found a good tutorial, or any answer on how doing this with these maps.
BTW, I can programatically draw a route and throw the Markers via code this way calculating the distance of the earth, but the thing is that the maps that i'm getting to start with are like the one in the link i wrote before, so the route is actually made by anyone.
Thanks.
google-maps maps google-maps-markers routes
add a comment |
When going to the Google website and signin in you can click on the “Maps” option from the toolbar menu at the top of the page. Click on the “My Places” button and choose “Create Map.”
There you can select to trace a route, for example, this map: https://maps.google.com/maps/ms?msid=204898944445262337567.0004d03638beb43c93029&msa=0&ll=6.235122,-75.536343&spn=0.003088,0.004823
There's some know way that via JS (other languages are also welcome) , i could put a Pin (Marker) let say, 50 mts from the start of the route i traced? There are some distance data of the route within google, but i haven't found a good tutorial, or any answer on how doing this with these maps.
BTW, I can programatically draw a route and throw the Markers via code this way calculating the distance of the earth, but the thing is that the maps that i'm getting to start with are like the one in the link i wrote before, so the route is actually made by anyone.
Thanks.
google-maps maps google-maps-markers routes
When going to the Google website and signin in you can click on the “Maps” option from the toolbar menu at the top of the page. Click on the “My Places” button and choose “Create Map.”
There you can select to trace a route, for example, this map: https://maps.google.com/maps/ms?msid=204898944445262337567.0004d03638beb43c93029&msa=0&ll=6.235122,-75.536343&spn=0.003088,0.004823
There's some know way that via JS (other languages are also welcome) , i could put a Pin (Marker) let say, 50 mts from the start of the route i traced? There are some distance data of the route within google, but i haven't found a good tutorial, or any answer on how doing this with these maps.
BTW, I can programatically draw a route and throw the Markers via code this way calculating the distance of the earth, but the thing is that the maps that i'm getting to start with are like the one in the link i wrote before, so the route is actually made by anyone.
Thanks.
google-maps maps google-maps-markers routes
google-maps maps google-maps-markers routes
edited Jan 31 '14 at 5:31
Kara
4,014104353
4,014104353
asked Dec 7 '12 at 13:46
desgracidesgraci
92411023
92411023
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I have two Mile/Km Marker examples:
- Km Markers every 2 km
- Marker at 9.5km and 64.8km
They use a method, GetPointAtDistance, from Mike Williams' epoly utility, which he wrote for the v2 API and I ported to v3
It is possible the same can be done more natively with the v3 geometry library, but that didn't exist when I ported epoly.
You can do the same with a polyline from KML if you render it on the map as a native Google Maps API v3 Polyline using a third party library like geoxml3
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f13764342%2fcan-you-programatically-draw-pins-markers-by-distance-on-a-custom-google-map-r%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have two Mile/Km Marker examples:
- Km Markers every 2 km
- Marker at 9.5km and 64.8km
They use a method, GetPointAtDistance, from Mike Williams' epoly utility, which he wrote for the v2 API and I ported to v3
It is possible the same can be done more natively with the v3 geometry library, but that didn't exist when I ported epoly.
You can do the same with a polyline from KML if you render it on the map as a native Google Maps API v3 Polyline using a third party library like geoxml3
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
add a comment |
I have two Mile/Km Marker examples:
- Km Markers every 2 km
- Marker at 9.5km and 64.8km
They use a method, GetPointAtDistance, from Mike Williams' epoly utility, which he wrote for the v2 API and I ported to v3
It is possible the same can be done more natively with the v3 geometry library, but that didn't exist when I ported epoly.
You can do the same with a polyline from KML if you render it on the map as a native Google Maps API v3 Polyline using a third party library like geoxml3
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
add a comment |
I have two Mile/Km Marker examples:
- Km Markers every 2 km
- Marker at 9.5km and 64.8km
They use a method, GetPointAtDistance, from Mike Williams' epoly utility, which he wrote for the v2 API and I ported to v3
It is possible the same can be done more natively with the v3 geometry library, but that didn't exist when I ported epoly.
You can do the same with a polyline from KML if you render it on the map as a native Google Maps API v3 Polyline using a third party library like geoxml3
I have two Mile/Km Marker examples:
- Km Markers every 2 km
- Marker at 9.5km and 64.8km
They use a method, GetPointAtDistance, from Mike Williams' epoly utility, which he wrote for the v2 API and I ported to v3
It is possible the same can be done more natively with the v3 geometry library, but that didn't exist when I ported epoly.
You can do the same with a polyline from KML if you render it on the map as a native Google Maps API v3 Polyline using a third party library like geoxml3
edited Dec 7 '12 at 14:48
answered Dec 7 '12 at 14:17
geocodezipgeocodezip
127k10146176
127k10146176
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
add a comment |
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
i have heard that the guys from google since July 2012 don't officially support the KML, still is there though, but if there's a better way to get the info of the Polylines, that is not the KML let me know. P.S.: Why you erased the modification? I mean it was a valid way and more open if you only need certain data, or if you are not working with js, like on an android...
– desgraci
Dec 7 '12 at 15:10
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
It wasn't just me, it was members of the community also. You added "comments" to the answer. That information belongs either in your question or in comments, not in the answer.
– geocodezip
Dec 7 '12 at 15:30
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f13764342%2fcan-you-programatically-draw-pins-markers-by-distance-on-a-custom-google-map-r%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown