View Full Version : Visit Map!!
masterpsk
08-15-2005, 02:47 AM
Hi!
Browsing the web as usual I found a very nice site where you can have a visitor map, not like the others like GeoLoc, etc...
This map uses the Google Maps API and you can see it working on Subdreamer Hispano (http://www.subdreamer-hispano.com) ... Its really easy, this is what you need:
1.- The IFrame Wrapper (http://www.subdreamer.org/sd_plugins/p13_sectionid/3/p13_fileid/4) Plugin (Hey Abcohen!! :P)
2.- Make an account here!! (http://myguestmap.lorca.eti.br/index.jsp).
3.- Fill all your info and options on your Admin Map Page. (Not SubDremer Admin Page).
4.- Install the IFrame Wrapper Plugin and add the SRC from your Admin Map Page (is at the bottom of the page)...
5.- Try it!! ...
Your visits can leave their position on the map... you can see my icon on my map, you can leave your icon too!! :P
Good Luck!!
Kaori
08-15-2005, 03:23 AM
That was interesting. I used a kitty!
PS: Es bueno saber que ha nacido un SD site hispano. Buena suerte!
abcohen
08-15-2005, 04:09 PM
Originally posted by Kaori@Aug 14 2005, 11:23 PM
That was interesting.* I used a kitty!
PS: Es bueno saber que ha nacido un SD site hispano.* Buena suerte!
645
thats pretty sweet looking... I'll have to look more into this..
masterpsk
08-15-2005, 05:00 PM
Originally posted by abcohen@Aug 15 2005, 11:09 AM
thats pretty sweet looking... I'll have to look more into this..
657
Look into what? :P
This guy is making that map using the Google's API and TLabel (plus his own hack)... but i dont know anything about JS, JSP... so all i can do is use your plugin to get it on SD :P
abcohen
08-15-2005, 05:22 PM
Originally posted by masterpsk@Aug 15 2005, 01:00 PM
Look into what? :P
This guy is making that map using the Google's API and TLabel (plus his own hack)... but i dont know anything about JS, JSP... so all i can do is use your plugin to get it on SD :P
661
thats what I'll have to look into :P trying to get it out of an iframe...
perhaps if users can run jsp it could be come a local plugin (but as I see from the admin section, it gives you code to place it in an iframe already)
masterpsk
08-15-2005, 07:20 PM
Originally posted by abcohen@Aug 15 2005, 12:22 PM
thats what I'll have to look into :P trying to get it out of an iframe...
perhaps if users can run jsp it could be come a local plugin (but as I see from the admin section, it gives you code to place it in an iframe already)
662
yup.. i tried the same usign the Googles API.. but i need to know JS... I tried to make a "code-mix" with "my account" on that site and my API account but as i dont know JS i can do anything better lol...
About you can see from the admin section (the code gived)... is just this:
<iframe border="0" frameborder="0" id="imap" name="imap" width="404" height="490"
src="http://myguestmap.lorca.eti.br/guestmap.jsp?id=masterpsk&locale=es" />
A simple IFrame, just the SRC is important here, and the "gestmap.jsp" takes 2 values like a .php file "?id=masterpsk" and "&locale=es"... you can see the source code with your explorer and it makes an "include" and bla bla bla bla bla i dont understan lol...
But if you really want to try it or someone knows JSP and can help hehehe can take a look to http://gmaps.tommangan.us/tlabel.html thats what this "Visit Map" is using...
What i did read on that page is you must create all that with events on mouse clicks etc etc, like:
1.- onclick, show form
2.- the form saves the info on a BD (or a plain text file)
3.- reading the API info you can found how to add "notes" at Latitude and Longitude, better using TLabel :P
Good Luck!!
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.