Programmatically launching the minimap
Is there a way to open a preview view from code, passing an address parameter? Client side script presumably, I can worry about generating it from server-side PHP later
I want to be able to have a clickable "View collection address" button
I want to be able to have a clickable "View collection address" button
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Rob
Other Firefox extensions can do this, but I suspect the security in place in firefox will stop it being called from a webpage. However, worth a try:
window.minimap.minimapSidebar(address)
window.minimap.minimapTab(address)
window.minimap.minimapPanel(address)
By 'View collection address' do you mean highlighting a series of addresses and added them at once? -
Inappropriate?I think you could be right on the security thing as I added them to an onclick and nothing happened. It could be unrelated, but I'm not getting any minimap options in the right-click context menus any more either (FF3.04 on Mac, MM version 0.38) - could it be that the plugin isn't loaded properly? I stil have a working toolbar button for it.
The "View Collection address" thing is specific to my app (where deliveries should be collected from) - its just the point where I wanted a map button.
I’m determined
-
Inappropriate?Hi Rob
The right click menu is designed not to appear if you right click on an unsupported map link, or is just not showing at all? -
Inappropriate?Further investigation shows that it works on "normal" text content but if the address itself a HREF, no context menu
I’m bemused
-
Inappropriate?Hi Rob
That's by design, as I say in last comment. If the href points to maps.google, maps.yahoo or maps.live then the context menu will show as it is a supported link type. If the href points to a non mapping site, then it will not show.
If you select text, then it will show Locate: xxxx, or if no text or link is selected, it will just allow you to open up minimap.
Loading Profile...



EMPLOYEE