styled maps and kml file

Phoca Maps - displaying maps in Joomla! CMS
zsuszti
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Dec 2012, 23:29

styled maps and kml file

Post by zsuszti »

I use pocha maps on my joomla website. I would like use unique maps layer that i made (Google Maps API v3 Styled Maps JSON). Could I use styled map in the kml file? Could I insert the code?(I would like change the map colour.)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: styled maps and kml file

Post by Jan »

Hi, In Phoca Maps 2, you can paste KML files. Just store your map in KML and add it to map in Phoca Maps:
https://www.phoca.cz/documents/53-phoca- ... phoca-maps
Jan
If you find Phoca extensions useful, please support the project
zsuszti
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Dec 2012, 23:29

Re: styled maps and kml file

Post by zsuszti »

I tried, but it did not work for me.
Do you have any suggestion, how this could work?
What I would like to have is a specific style for the map, with this JSON "[ { "featureType": "administrative", "stylers": [ { "visibility": "off" } ] } ]"
(I made it with this: http://gmaps-samples-v3.googlecode.com/ ... index.html )
How can I make kml?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: styled maps and kml file

Post by Jan »

Hi, I think, in such case you need to customize the javascript :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply