[map theme] how do u make markers?
kevin512
Joined: 2006-03-09
Posts: 6 |
Posted: Sun, 2006-03-19 02:13 |
I am sorry if I am asking a stupid question, but how do I add markers to the map theme (I already did the photofield-> GPS thing)? this is the album i am trying to configure: [url=http://junk.icurry.net/v/thefirstone/?g2_navId=x73aec098 ]http://junk.icurry.net/v/thefirstone/?g2_navId=x73aec098 [/url] Thanks! |
|
Posts: 27300
http://codex.gallery2.org/index.php/Gallery2:Themes:Map
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 6
How do I add albums to this page? I can get pictures to show up, but I cannot get the sub-albums to appear. What do I need to do?
Kevin
Posts: 364
The Map Theme does not recurse; however, if you assign the customfield 'GPS'
to the sub-album -and- to the items within it you can drill into them. In
place of adding the customfield to just items (photos), add it as a
Common Field which will place it in both. You could just add it as an
Album Field in addition to your, already added, Photo Field. Then, with
your sub-album now having the 'GPS' field (filled with coordinates)
your initial map will be displayed with a red markers signifying that
marker represents an album. Click on it and that album will be displayed
on a new page and new map.
Posts: 6
I am totally confused. Can you explain this in a different, easier way or is that to much to ask?
Posts: 364
I guess I did ramble a stream... sorry 'bout that.
-Create an album.
-Edit customfields
-Add a common field named GPS
-Add items (photos) to this album
-Edit their GPS customfield and add coordinates
-Add a sub-album
-Edit it's GPS customfield and add coordinates
-Add items (photos) to the sub-album
-Edit their GPS customfield and add coordinates
-Set the sub-album theme to the map theme
-Set the theme of the sub-albums's parent to the map theme
-Access the parent album
-The map will show green markers representing the items (photos) in the parent album
-The sub-album on this map will have a red marker representing the sub-album
-Click the red marker and a new map will be displayed showing green markers
representing the items (photos) in the sub-album
Posts: 27300
galmoid Much better to understand
Should that go in the theme WIKI as a faq answer?
Posts: 364
Yea, yea, yea... I know.
I tacked the above at the end of the page HERE.
I'll change it as and if needed after kevin512's response.
Posts: 6
I hate to say it, but I didn't get it to work. I got the pictures in the parent album to show up as green markers, but the sub-album never appeared.
Any suggestions?
Posts: 364
Does the sub-album have a GPS customfield?
If so, does the customfield contain coordinates?
Is the sub-album theme set to the map theme?