0

i am trying to make a custom page that would look like this

enter image description here

if i have a page where you can upload an image and enter description which feeds into a sql dB using PHP, how could one create a map of image thumbnails instead of markers?

this photo was taken from: http://www.blocsoft.com/bmap/ but after browsing thru their site i didnt see anything about image thumbnails as markers

t q
  • 4,593
  • 8
  • 56
  • 91
  • just found this link, should do the trick: http://stackoverflow.com/questions/2526304/php-extract-gps-exif-data – t q Mar 01 '12 at 04:16

2 Answers2

1

An alternative, but less flexible, approach would be to store the photographs in Panoramio and enable the maps Panoramio layer http://code.google.com/apis/maps/documentation/javascript/layers.html#PanoramioLibrary

MymsMan
  • 191
  • 8
  • because of this project, i cant use panoramio. i would need to store the data local – t q Feb 29 '12 at 21:51
  • Fair enough - the sample you provided looks as if it was implemented via Panoramio. @Michael suggestion will work for you but the images will need to be accessible on a web server. – MymsMan Feb 29 '12 at 22:24
  • actually i think that this method is the only way. the marker method will not work for so many images. should look into panoramio's api – t q Mar 01 '12 at 02:16
0

You're going to want to do this via Javascript.

See http://code.google.com/apis/maps/documentation/javascript/overlays.html#SimpleIcons Example @ http://code.google.com/apis/maps/documentation/javascript/examples/icon-simple.html

Basically, you can use PHP to populate the markers within the javascript markup, then let JS init it.

Michael Mikhjian
  • 2,760
  • 4
  • 36
  • 51
  • the complex example is more of what i would need http://code.google.com/apis/maps/documentation/javascript/examples/icon-complex.html – t q Feb 29 '12 at 22:33
  • Complex would most likely do exactly what you want. It is a bit of code for a simple marker, but that's what google requires to work with their API. – Michael Mikhjian Feb 29 '12 at 23:37