Personal tools
You are here: Home Forums Plone Google Maps Haven't quite got it right
Document Actions

Haven't quite got it right

Up to Plone Google Maps

Haven't quite got it right

Posted by Bruce Deutsch at January 10. 2007

Great product.  Can't wait to get it all in play.


I have created a page in a folder that takes the lat&long fine and displays (in the geolocation view) the right location on the map.


Went up to the folder containing the page/map and set the display to maps view.


THAT view/map, though, is not for the location of the page.


Am I missing something?


Thanks,


Bruce


Re: Haven't quite got it right

Posted by Bruce Deutsch at January 10. 2007

Actually, I've made great progress, but am unsure of just one thing.


In the geo location, I set the zoom level.  Of course it shows correctly in the map view below the form.


But when the portlet appears, while the location is correct, the zoom is not the zoom level I had set.  In fact, it looks like '0' zoom, or whatever default is.


How do I get the portlet to correctly display the zoom?


Re: Haven't quite got it right

Posted by Vitaliy Podoba at January 16. 2007
Hi,
map shown in maps_view of a folder isn't customizable yet. Every time it's displayed with the best fit (center and autozoom) for the containment items.

Map's Zoom is set to maximum but such that all markers are visible on map.

So, when folder contain only a one item, zoom equals maximum.

Re: Haven't quite got it right

Posted by Vitaliy Podoba at January 16. 2007
It's not possibly to display map on portlet with custom zoom. Map's zoom on portlet is equal to 6.
In later versions it will be fixed.

Re: Haven't quite got it right

Posted by Bruce Deutsch at January 19. 2007

Vitaliy,


Thanks for the info.  Makes sense.




Again, I am LOVING this product. Thanks for your great work.


One other question: On the large view, I'd like to add some text above the map explaining how the user can click on google to go to google maps and do directions, etc. For the life of me, I can not find which template I need to customize.




Can you help?


Re: Haven't quite got it right

Posted by Vitaliy Podoba at January 22. 2007



When you click on 'Large screen' link on maps portlet, you get maps_view template which display a current item.


You need customize this template (maps_view.pt) for adding some text above the map.


Powered by Ploneboard