Author Topic: Map Baker Module  (Read 57711 times)

dfelix

  • Guest
Map Baker Module
« on: August 18, 2009, 04:44:26 PM »
I created a new Map module based on google maps API.

Top features:
-> Markers are organized in Categories, and Managed directly in the Page.
-> Makers can be added direcly in the map when creating/editing. Or by entering the coordinates.
-> Marker bubble details can be customized through a Template in Settings.
-> Load markers from a external kml/geoRSS
-> No need for changing the template code.
-> A specific Marker can be higlighted when called from a link  (requested by crnogorac081. Instructions how to use this, here)


Planned Features:

-> Custom icons
-> Fully Customizable Map settings (Views, Zoom, etc)

Download:
link
(sourceforge project page)

Demo:
link
(just browse. no admin access)

I've only tested on WB 2.8, and FF 3.52, IE 6 , IE7 and Chrome.
Now..Shoot me with bugs and stuff...
« Last Edit: September 08, 2009, 08:06:50 PM by dfelix »

aldus

  • Guest
Re: Map Baker Module
« Reply #1 on: August 18, 2009, 05:43:29 PM »
As for a first look: there is no "delete.php" - so, if you want to uninstall it,
the tables are still in the database ...so i don't install it at all ...

Also module_platform = 2.6.x ... if you have tested it in 2.8, please mark it for 2.8,
as someone could think the module could run on his pretty old version at all.

And at last: are there any hints/remarks for the user about the license to use GoogleMaps at all?
E.g. in the index.php or in the module-description (maybe as a link).

Regrads
Aldus

dfelix

  • Guest
Re: Map Baker Module
« Reply #2 on: August 18, 2009, 07:13:09 PM »
Thank you so much!
File is replaced!

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #3 on: August 18, 2009, 08:42:31 PM »
wow , cool module, looking forward to test it..
no bb in signature

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Map Baker Module
« Reply #4 on: August 18, 2009, 08:51:15 PM »
Hello dFelix.

First BugReport: -> please check your links in the first post ;-) They are buggy - don't they?

Regards,
Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #5 on: August 18, 2009, 10:02:56 PM »
Like it :)

Just tested it on WB Portable server and it is working great !

Just a question, as I tried it on loccal server, every time I reload page, I get some empty popup window without any message ?? Could it be becouse it is local server ?

I hope it will be possible to make different markers (or images/icons which we could restyle) for different categories and/or different individual markers ..

If I make a map with a lot of markers, is it possible to have a link on some other page to the page where the map will be, with a link to some specific marker ?

All best,
ivan
no bb in signature

dfelix

  • Guest
Re: Map Baker Module
« Reply #6 on: August 18, 2009, 11:40:04 PM »
Just a question, as I tried it on loccal server, every time I reload page, I get some empty popup window without any message ?? Could it be becouse it is local server ?

Could be the API key validation...
Google generates the key to a specific url... and message is language based.

If I make a map with a lot of markers, is it possible to have a link on some other page to the page where the map will be, with a link to some specific marker ?

Do you mean... open the page with a specific marker hilighted?

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #7 on: August 18, 2009, 11:47:58 PM »
yes, exactly.. Because now when you have categories, you can make 50 -100 - 1000 markers on one map..

Then it would be handy to make links from other pages to that map and to hightlight specific marker..is it possible ?

cheers
no bb in signature

dfelix

  • Guest
Re: Map Baker Module
« Reply #8 on: August 19, 2009, 01:46:45 AM »
I'll work on it asap.

dfelix

  • Guest
Re: Map Baker Module
« Reply #9 on: August 19, 2009, 04:28:17 PM »
done!
Version 1.1 available here.

(You should uninstall the previous then install the new one because there is one more table for geoRSS feature)


crnogorac081,

Marker can now be higlighted through the query string.
example:

http://dfelix.net/log/pages/codigo/map-baker/mapbaker-demo.php?marker_id=2




Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Map Baker Module
« Reply #10 on: August 19, 2009, 05:06:27 PM »
Hello,
this seems to be a great alternative to the now available googlemap module.

One question:
Did you add a 'delete.php' to your script?

As for a first look: there is no "delete.php" - so, if you want to uninstall it,
the tables are still in the database ...so i don't install it at all ...

Regards,
Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

dfelix

  • Guest
Re: Map Baker Module
« Reply #11 on: August 19, 2009, 05:17:00 PM »
Yes..
For some reason, the file was not on the zip i first published..


Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Map Baker Module
« Reply #12 on: August 19, 2009, 05:49:38 PM »
Thanks for letting me know.

I will have a look at your module - sounds great.

Kind Regards,
Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #13 on: August 19, 2009, 06:40:35 PM »
Cool, it works :)

You can add a WB link somewhere in text and then just hit view source and add ?marker_id=2 or other marker id number :)

It should look like this: <a href="[wblink4]?marker_id=2">

Is it possible to create different marker images for different cattegories ?

cheers
no bb in signature

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Map Baker Module
« Reply #14 on: August 20, 2009, 03:19:47 AM »
Hello dFelix.

I like this :-)
Itso much easier to handle as the old one.

I have one suggestion:
- there should be a possibility to set the markers to active/inactive in the backend.


And:
I don't really get what the groups are for  :?
They doesn't make any sense to me.
Please explain.  :wink:

Regards,
Stefek

"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #15 on: August 20, 2009, 03:37:48 AM »
It make sense to me if each group would have different marker image...that is my suggestion. As I saw some maps and they have for example different markers for food, drink sleep, etc..

by the way, I keep reading ands still couldnt figure out what is kml/geoRSS ???

cheers
no bb in signature

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Map Baker Module
« Reply #16 on: August 20, 2009, 03:40:37 AM »
Hello Ivan..


Planned Features:

-> Custom icons
-> Fully Customizable Map settings (Views, Zoom, etc)

:wink:

Good night!

Stefek
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #17 on: August 20, 2009, 03:48:58 AM »
looking forward for this, it will be a great module  :-D

good night bakers :)
no bb in signature

dfelix

  • Guest
Re: Map Baker Module
« Reply #18 on: August 20, 2009, 12:28:56 PM »
I don't really get what the groups are for
They doesn't make any sense to me.
Please explain.

It's a way of organize your markers.

But it will make more sense when images are available like crnogorac081 said.
(i'm working on it. maybe today.)

The possibility to set the markers to active/inactive in the backend is a nice catch.
It's now in the todo list.


by the way, I keep reading ands still couldnt figure out what is kml/geoRSS ???

It's a external source for a specific marker ou colection of markers.

Some websites publish information about weather, traffic.
For example, this link will give you a pinpoint with weather information in Podgorica:

http://weather.yahooapis.com/forecastrss?p=YIXX0001

Also there are lots of other options..
You can save your Google Earth markers as kml file, upload it to the media folder, and use it to feed your map.

And there is other cool stuff.
Check the georss options from flickr or panoramio..





Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #19 on: August 20, 2009, 12:52:02 PM »
wow  :-D I ll need to read much more about this..

cheers
no bb in signature

AR1306

  • Guest
Re: Map Baker Module
« Reply #20 on: August 20, 2009, 01:47:02 PM »
THX for that great module - maybe there is a way to use the own marker (inside the module - not with a kml-file from the google account) to get a geoRSS-Feed with images or other mediafiles? It would be a great thing to get the possibility to create a travel route for instance or some other things in this way.  :-D (Never stop thinking ... :roll:)

But there is one more question - all your demolinks are broken?

Regards

Andreas
« Last Edit: August 20, 2009, 03:22:15 PM by AR1306 »

Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #21 on: August 20, 2009, 01:50:32 PM »
Yea, I was thinking too about the self-created markers.. if it is possible :)
no bb in signature

dfelix

  • Guest
Re: Map Baker Module
« Reply #22 on: August 20, 2009, 08:18:48 PM »
... maybe there is a way to use the own marker (inside the module - not with a kml-file from the google account) to get a geoRSS-Feed with images or other mediafiles?

Already thought that... but need to find a way of overrride the default icon.

It would be a great thing to get the possibility to create a travel route for instance or some other things in this way.

I have plans to include routes... but only after having all waypoint basic fetures done.

But there is one more question - all your demolinks are broken?


I was testing something there and moved the page..
Tray again...

Version running on my website will be the 1.2 already with images in categories...
But need to correct some image size bugs first..

:)


Offline crnogorac081

  • Posts: 1895
  • Gender: Male
Re: Map Baker Module
« Reply #23 on: August 20, 2009, 08:24:07 PM »
Looks great !!!

Did you put those football player and airplane icon via wb as icon or via that kml/georss  ?

cheers
no bb in signature

AR1306

  • Guest
Re: Map Baker Module
« Reply #24 on: August 20, 2009, 09:20:22 PM »
@dfelix

cool module, it looks very nice  :-D - maybe there is any possibility to style the output over css? So I´d like to generate a borderline around the map for example - you thought on this possibility? I have a look on your files - perhaps I will find a solution - Great work of you ... so many THX - I´m only missing the geoRSS-Feed :wink:

Quote
I have plans to include routes... but only after having all waypoint basic fetures done.

Why that? It would be very cool, if you could use this as a part of a blog - so every new day you can add a new target of the day - your route´s will be with open end - so you could use the geoRSS-Feed as an interesting news-/blog-feed  :-D

I´m looking further ... Version 1.2

My Testwebsite is under http://test07.westkreuz-onlineservice.de/pages/topics/map-modul.php - If you want to create a KML-File you can put this param behind the URL on googlemaps &output=KML - On my testsite you will see an example with I in the marker not far from Berlin (Hotels in Darmstadt ...) It´s realy cool ...

Andreas
« Last Edit: August 20, 2009, 11:28:14 PM by AR1306 »