GoogleMaps Module [NEW VERSION 3.0, 2009-02-22]

Get help with installation and running official modules for phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: GoogleMaps Module [New Version]

Post by breitsch »

Hi Claus

Your post is the kml file wich contains all map points.
but the sitemap looks different, it links to your kml file in a <url> tag.

something like:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>      
      <loc>http://www.example.com/example.kml</loc>
    </url>
  </urlset> 
see also: http://code.google.com/apis/maps/sitemap.html
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

Thank you for stepping in :)
My beginning of sitemap.php's source code output is

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 
	http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
	<!-- Google Sitemap, http://www.google.com/webmasters/sitemaps/ -->

	<url>
		<loc>http://domain.de/index.php?aid=6</loc>
		<lastmod>2008-06-16</lastmod>
	</url>
..............
perhaps this should be changed?
The end of the output is

Code: Select all

...................
	<url>

		<loc>http://domain.de/index.php?aid=14</loc>
		<lastmod>2007-12-12</lastmod>
	</url>

	<!-- try to add custom URLs from INI file... -->
	<!-- ...no custom URL available for inclusion -->

    <url>     
      <loc>http://domain.de/include/inc_module/mod_googlemaps/kml/googlemap11.kml</loc>
    </url>
</urlset>
phpwcms version is 2007.12.05
Perhaps I should try to update this single file? But there isn't anything new I think...

The submission of this sitemap throws the aforementioned errors...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: GoogleMaps Module [New Version]

Post by breitsch »

sorry, I don't know, for me everything seems to be alright
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

for me too :?
I will check again...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
kivipea
Posts: 8
Joined: Mon 5. Dec 2005, 00:31

Panoramio

Post by kivipea »

I just discovered that Google has added 2 new features to the Maps: Wikipedia entries and Panoramio photos (http://www.panoramio.com/api/). (It might well be that they are there for some time already since I don't use Maps very often.)

Anyways, of course I'd like to ask Mr. Breitsch right away that how he feels about integrating these into his excellent and highly useful module?
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

360fusion wrote:Will it be possible to display results based on categories?
something like this: http://www.thesarasotamls.com/gmap.php
so users can filter down the results to their specific requirements.
As said before already - this would be cool:
- some 5-10 fields for categorizing, structuring, searching...
- sortable display in frontend
- perhaps a possibility to call a map feature from within another page - linking to the module (example: when needing a bed for a night, I click "need bed" at the front page and am taken to the map page which will open up sleeping possibilities for me... or something similarly... :) )
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

OK - here we go:
After having done some more tests and researches this is what I've found so far when trying to open the kml file with google earth:
"Fehler beim Analysieren in Zeile 99 Spalte 30"

<name>Steißbein Meyer Hölzbau GmbH & Co. KG</name>

There we find an & (unescaped), as inserted in BE...
This simply means, that at least we've to take care for the next Release to escape / mask not only @ (-> mapcrash), but the & (-> invalid sitemap) too for all input fields...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

<name>Steißbein Meyer Hölzbau GmbH & Co. KG</name>
<name>Steißbein Meyer Hölzbau GmbH&Co. KG</name>
are not working / invalid
<name>Steißbein Meyer Hölzbau GmbH & Co. KG</name>
is working / valid
German Sonderlauts don't matter...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: GoogleMaps Module [New Version]

Post by update »

@Breitsch: You've got PM ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: GoogleMaps Module [New Version]

Post by breitsch »

Hi all

the google maps module is getting updated right now.
we come eventually to the final testing phase.
some teasers for those interested

Backend
more admin sections
Image

you can group the categories now (2 levels)
Image

each point can now have no/one/multiple categories
Image

frontend language translation, language is set by browser language of the user (like Google does)
Image

Google Earth Plugin
Image

Panoramio settings
Image

new sidebar with tabs for category/routeplanner/search
just activate the tab, the script does all the rest for you
Image


Frontend

categories are grouped and can be toggled single or by the entire group
the map zooms to the selected points
Image

the routeplanner link in the info window will now open a new info window within the map where you can enter the start/end address
the result is listed beneath and the route displayed within the map, you can print the list
Image

search for text or address or points within a certain distance
it will find your points and display them on the map (hide all others)
the user can then click through the listing to see further infos in the info-window or print out the list
the search within a radius of a certain point shows the distance in the result
Image

and maybe the coolest feature is: the categories and the search function work together.
you can first hide some categories then search for a word within the description then, if you still have to many results, hide more categories (or reactivate others) then search for another word and so on

it's gonna be cool I guess
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Re: GoogleMaps Module

Post by sustia »

awesome :o
Welcome back :)
Campeones del mundo!
Vegetables!
kivipea
Posts: 8
Joined: Mon 5. Dec 2005, 00:31

Re: GoogleMaps Module

Post by kivipea »

Awesome! Really. And Panoramio included.
Respect, Breitsch.
User avatar
flopi
Posts: 125
Joined: Thu 22. Nov 2007, 15:26

Re: GoogleMaps Module

Post by flopi »

is it possible to upload a kml file with a route inside?

mfg
flopi
(\_/)
(0.o)
(> <)
Das ist Bunny. Kopiere Bunny in deine Signatur, um ihm auf seinem Weg zur Weltherrschaft zu helfen!
User avatar
oeconom
Posts: 337
Joined: Fri 13. May 2005, 09:33
Location: Stuttgart
Contact:

Re: GoogleMaps Module

Post by oeconom »

Hi breitsch,
how are things doint? When will we get delighted by your newest GMaps Module Release? :wink:

...just curious to know.

Best wishes,
FELIX
...alles wird gut!
still alive...
Experimenting with phpwcms and hoping to have time one day to get a site live... :wink:
One Site finished! :P
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Re: GoogleMaps Module

Post by breitsch »

(as) soon (as possible)
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
Post Reply