Change Route marker to Textmarker

6 posts / 0 new
Last post
MaxGom
Change Route marker to Textmarker

Hi there,
Is there anyway i can change the route marker to text marker. Currently I've tried to put in two textmarkers one named as My Current Position and the other, a place name that I've marked as Cafe. When I add route, it replaces my textmarkers to the symbol markers and the texts are replaced with some route names. I just want a marker with my text on it.

Appreciate your help.


Thomas.Horacek
You will want to extend the
You will want to extend the directions layer and have the start and end marker methods return text markers: See the section at the bottom of this page: https://developer.mapquest.com/documentation/mapquest-js/v1.3/l-mapquest... in combination with https://developer.mapquest.com/documentation/mapquest-js/v1.3/l-mapquest...

MaxGom
<p>Thanks Thomas. I am a

<p>Thanks Thomas. I am a newbie in map coding but I will give that a try. I will ask again here should I need to.</p>

<p>&nbsp;</p>

<p>Thanks again.</p>


kiarawillson92
I was looking for the this as

I was looking for the this as I have to implement it to my website somewhere in the blog and it worked for us in the testing mode and lets hope it will work on live version as well :)


MaxGom
It worked. Thanks so much man

It worked. Thanks so much man. I just changes the custom layer marker to my textmarker and it worked like magic.


hugcetlz
It worked

It worked