Remove routing flags from info window
- ThomasR
- Topic Author
- Offline
- Junior Member
Less
More
9 years 6 months ago - 9 years 6 months ago #6560
by ThomasR
Remove routing flags from info window was created by ThomasR
Hi Dima,
i want to remove the start point flag and the end point flag in the info window (opening after clicking on my placemark). Is there a setting in the option or have i to do it in another way?
Here is my page: TWK
i want to remove the start point flag and the end point flag in the info window (opening after clicking on my placemark). Is there a setting in the option or have i to do it in another way?
Here is my page: TWK
Last edit: 9 years 6 months ago by ThomasR.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 6 months ago #6573
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Remove routing flags from info window
Hi
Do you want to suppress A and B marker on map when you've got a route?
Do you want to suppress A and B marker on map when you've got a route?
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- ThomasR
- Topic Author
- Offline
- Junior Member
9 years 6 months ago #6586
by ThomasR
No.
Do the following: Open my website. Then click on the red placemark. Now you see the infowindow with some infos (adress, website and also the two flags). With that two flags i can switch if the placemark should be the starting point or the end point for my route. But i just want the placemark to be my endpoint (so that customers can travel to me ). So the two flags (for switching) are not necessary and i want to remove them, but i cant find an option in the settings.
The A and B marker on the map can stay.
Please also see the screenshot:
Replied by ThomasR on topic Remove routing flags from info window
Dima wrote: Hi
Do you want to suppress A and B marker on map when you've got a route?
No.
Do the following: Open my website. Then click on the red placemark. Now you see the infowindow with some infos (adress, website and also the two flags). With that two flags i can switch if the placemark should be the starting point or the end point for my route. But i just want the placemark to be my endpoint (so that customers can travel to me ). So the two flags (for switching) are not necessary and i want to remove them, but i cant find an option in the settings.
The A and B marker on the map can stay.
Please also see the screenshot:
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 6 months ago #6587
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Remove routing flags from info window
Aha.
Now you can't switch it off, because if you enable route feature (by find feature or by autocomplete feature), I create this placemark toolbar with this buttons.
Because your customer can plan not only how to get to you, but also how to come back
Now you can't switch it off, because if you enable route feature (by find feature or by autocomplete feature), I create this placemark toolbar with this buttons.
Because your customer can plan not only how to get to you, but also how to come back
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- ThomasR
- Topic Author
- Offline
- Junior Member
9 years 6 months ago #6588
by ThomasR
Replied by ThomasR on topic Remove routing flags from info window
Customers shouldn't find the way home. They should find my shop and buy, buy, buy. :evil:
Ok, to be serious, maybe it could be added to the wishlist to be removable in the settings like the GPS infos.
Lets see if i can hide/remove it with a code adaption?
Ok, to be serious, maybe it could be added to the wishlist to be removable in the settings like the GPS infos.
Lets see if i can hide/remove it with a code adaption?
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 6 months ago #6594
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Remove routing flags from info window
OK. I'll think of it.
Look at
com_zhgooglemap\site\helpers
File: placemarks.php
Line 808
just set wrong clause, ie
And you'll disable it
Look at
com_zhgooglemap\site\helpers
File: placemarks.php
Line 808
Code:
if ($service_DoDirection == 1)
just set wrong clause, ie
Code:
if ($service_DoDirection == 1 && 1==2)
And you'll disable it
Don't forget support my developments: post review in JED , donate , help with translation
The following user(s) said Thank You: ThomasR
Please Log in or Create an account to join the conversation.
Time to create page: 0.265 seconds