4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: sigma on November 19, 2005, 05:48:54 PM
-
Was wondering if someone would like to help me with this Mod. I currently have it working within iframe.
Demo can be seen here http://cydonian.com/photos/index.php?template=gmap
I have Info Windows displaying on Markers which allow HTML. If you click on the Image in the Info Balloon you will go directly to that Category or Image. Not to difficult to get this going using just Iframe and the Google API (http://www.google.com/apis/maps/).
What I would like to do now is add a couple admin functions. Lets say I want to add a new picture to my 4images DB. I need to add a feild to the upload window that will allow me to specify the GMap location using Coordinates that Google Map recognises. You can get free Geocode here (http://www.infosports.com/m/map.htm). I also would like the thumbnail image for that image to be also used in the Info Balloon you create for the GMap Marker.
The GMap code to add a marker with lat/long coordinates is the following.
// One more point and marker
// Give your Marker a name here
var point## = new GPoint(-79.4951605796814, 43.84219580772155);
var marker## = createMarker(point##,'<b>Title of Image or Category<b><br><a href="http://www.yourdomain.com/location/" target="_parent"><img src="http://yourdomain.com/image.jpg" width=140 height=105 border="0"></a></div>')
map.addOverlay(marke##);
This is the code needed to be entered into the gmap.htm file with the google map info.
Anyone interested in lending me a hand with this?
The Google Map code im still learning but I've got it working for what I need. Nows its just a matter of connecting it to the 4images database and automating some upload funtions.
-
Either no one else is interested in a mod like this or its too difficult to code.
?
-
The problem is that the members will have to manualy get the geocode for your site - not many would willing to do so. If you could get such from their IP, or something, - that would be something more productive.
-
There is a way for google maps to generate this information using markers. It outputs the info to a input field. I know of another site that uses google maps this way. What I really need to do is test some code in the upload.php . I'll see what I can do. In the end all I will need help with is pushing some code into the gmap.htm or gmap.php file so it can update and be stored in the db.
Keep you posted.
-
Ops...I think missread your post, I was talking about completly different usage of google map...
my bad.
-
I am intrested also in such integration :)
and for now also made this by hand: http://www.otdyh.crimea.ua/vt-webf.html
fulscren map of Crimea Ukraine, text in Russian - but not more:)
not a familiar with php/mysql, could some one help as?
sure, from this integration 4images only better!
I think this info should be useful:
http://sourceforge.net/projects/phpgooglemaps/
http://www.xml.com/lpt/a/2005/08/10/google-maps.html
as Vano pointed - visitors will not get latidute longitude numbers, but we can simplifier this task with showing map and asking them to click on map where the foto was shot - and then pas lan/lot value to the form
I use myself this map: http://www.mapki.com/index.php?title=Get_Lon_Lat
Vano глянь плиз, может это не сложно совсем?
Either no one else is interested in a mod like this or its too difficult to code.
?
-
I am intrested also in such integration :)
and for now also made this by hand: http://www.otdyh.crimea.ua/vt-webf.html
fulscren map of Crimea Ukraine, text in Russian - but not more:)
not a familiar with php/mysql, could some one help as?
sure, from this integration 4images only better!
I think this info should be useful:
http://sourceforge.net/projects/phpgooglemaps/
http://www.xml.com/lpt/a/2005/08/10/google-maps.html
as Vano pointed - visitors will not get latidute longitude numbers, but we can simplifier this task with showing map and asking them to click on map where the foto was shot - and then pas lan/lot value to the form
I use myself this map: http://www.mapki.com/index.php?title=Get_Lon_Lat
Vano глянь плиз, может это не сложно совсем?
Either no one else is interested in a mod like this or its too difficult to code.
?
Вот тут есть некое решение такого
http://coppermine-gallery.net/forum/index.php?topic=26571.0
-
Спасибо SAD!
именно то что нужно - и класно же выглядит:)
буду пробовать такое для 4images сделать.
Вот тут есть некое решение такого
http://coppermine-gallery.net/forum/index.php?topic=26571.0
-
gnikolay
потом поделись изысками :)
-
Anyone else take a look at V@nos website?
http://gallery.vano.org/
He has a google map mod, I was hopping he was going to post his code, once he is done beta testing it.
-
Спасибо SAD!
именно то что нужно - и класно же выглядит:)
буду пробовать такое для 4images сделать.
Удалось прикрутить?
-
There are already google maps out there!
But unfortunately only for coppermine and menalto gallery 2
http://coppermine-gallery.net/forum/index.php?topic=31206.0
http://codex.gallery2.org/index.php/Gallery2:Modules:Map
This modifications might help to customise them to 4images.
-
Hi All,
are there still some people interested in this feature?
I played a little bit with Google-Maps and have it basically working.
It is based on some other websites where I found Google-Maps integrated in 4images.
At the moment it is not really finished, but I'm working on it...
You can find the example(s) here:
http://gallery.holger-stroeder.de/cat10.htm?l=english
http://gallery.holger-stroeder.de/img241.htm?l=english
If somebody is interested, I'll publish the coding...
Greets
Holger
-
Nice work. I have my own setup right now but It needs alot of improvements.
The best example I've seen so far is on mawenzi's website
check it out. http://klick.kl.funpic.de/google_maps.php
-
Nice work. I have my own setup right now but It needs alot of improvements.
The best example I've seen so far is on mawenzi's website
check it out. http://klick.kl.funpic.de/google_maps.php
Thanks :D
...and from mawenzi's site I learned a lot about google-maps integration.
-
Please see:
http://www.4homepages.de/forum/index.php?topic=16533 (http://www.4homepages.de/forum/index.php?topic=16533)
Greets HoSt
-
First, congratulations, sigma, your web is genial!!!!
I have searched Google maps ...and ..in 4images forum was the solution...
but "my 4images forum" is "spanish 4 images forum"
Very interesting
I will study it!!!!
Thanks