Loading...
 
Development

Development


Googlemap plugin enhancements

posts: 18

I've enhanced wikiplugin_googlemap.php and wikiplugin_googlemap.tpl as follows:
Support for specifying multiple items via:
locateitemid="Id_1|Id_2|..."
All items must be of homogeneous type specified by locateitemtype.

Google map will now center and zoom to fit multiple markers if no default x,y,z are specified.

Example here:
http://wythe.us/content/tiki-index.php?page=Test

These modifications were done to 6.2. I looked for information on submitting patches but couldn't find how to submit for that version. If anyone is interested I'll provide the code / diffs.

Dan


posts: 18

I've also added support for the newer physical (terrain) map type:

http://wythe.us/content/tiki-index.php?page=Fire+Lookout+Towers+in+and+around+Wythe+County

Code that generates the Googlemap on that page:

{GOOGLEMAP(type=item, mode=physical, locateitemtype="wiki page", locateitemid="Big Bend Lookout Tower|Comers Rock Lookout|Cove Mountain Lookout Tower|Sand Mountain Lookout Tower|High Rock Lookout Tower|Walker Mountain Lookout Tower|Jones Knob Lookout Tower|Peaks Knob Lookout Tower", name=map1, width=500, height=400, frameborder=1, togglehidden=1, starthidden=0, autozoom=14)}{GOOGLEMAP}


marclaporte, I don't have time to setup CMS software, check out code, check it back in, etc. Perhaps some time in the future I'll have time to formally contribute. Again, if anyone wants my modified files then I'm happy to provide them, and if they want to take credit for the changes and commit them under their name, that's fine too.

posts: 3
daneast wrote:
I've also added support for the newer physical (terrain) map type:


I,

where do you put de coord of your tower?

do you have an url with more info about the "Plugin GoogleMap"?

I tried a map for the user and it work very well but I want to créate a map with our customer and I do not know how?

thank you in advance

david


posts: 11

may be i am wrongf,but i hope you can give me a opportunity !!especially the board administator!! if i do not get this message successfully i will be fired!!i need money to keep my mother!!!!
3x!!!!!3x!!!!maternity-wedding-gowns


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting