Hello. Loving this plugin. Still trying to figure some things out though. I'm wondering how to have the satellite view displayed as apposed to the Map view.
I'm new to Joomla and Phoca. I'm learning though... Thanks...
Geocoding with satellite default
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geocoding with satellite default
Hi, see:
https://www.phoca.cz/documentation/index ... geotagging
Demo:
https://www.phoca.cz/phocagallery/demo/i ... gories-geo
Jan
https://www.phoca.cz/documentation/index ... geotagging
Demo:
https://www.phoca.cz/phocagallery/demo/i ... gories-geo
Jan
If you find Phoca extensions useful, please support the project
-
rickshadey
- Phoca Newbie

- Posts: 2
- Joined: 11 Aug 2008, 21:45
Re: Geocoding with satellite default
Thanks for the response Jan. Unfortunately, neither the demo page nor the documentation shows how to display, as default, the "show satellite imagery" as opposed to the "show street map" view. I installed a plugin written by Mike Reumer called, obviously enough, Googlemaps.
http://tech.reumer.net
There are a lot of options available and one is Maptype.
I'm starting to read the code and it would be "mapType='Satellite'"
Just not sure where or how to insert that code.
http://tech.reumer.net
There are a lot of options available and one is Maptype.
I'm starting to read the code and it would be "mapType='Satellite'"
Just not sure where or how to insert that code.
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geocoding with satellite default
I am sorry, I overlooked the word 'default'
The javascript for the detail view, you will find here:
components\com_phocagallery\views\map\tmpl\default.php
The javascript for categories view, you will find here:
components\com_phocagallery\views\categories\tmpl\default_map.php
Jan
The javascript for the detail view, you will find here:
components\com_phocagallery\views\map\tmpl\default.php
The javascript for categories view, you will find here:
components\com_phocagallery\views\categories\tmpl\default_map.php
Jan
If you find Phoca extensions useful, please support the project
-
mpele
- Phoca Newbie

- Posts: 2
- Joined: 03 Jun 2009, 08:25
Re: Geocoding with satellite default
I would like to have default map type Hibrid, but with this informations I am not able to make it.
Could you give me detailed instruction how to do this?
Thanks
Could you give me detailed instruction how to do this?
Thanks
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geocoding with satellite default
Hi,
download Phoca Maps component, you will se there the code for displaying diferent maps:
\components\com_phocamaps\views\map\tmpl\default.php
This:
need to be added into Google Javascript in Gallery
\components\com_phocagallery\views\map\tmpl\default.php
components\com_phocagallery\views\categories\tmpl\default_map.php
See the Phoca Map for the Javascript code.
Jan
download Phoca Maps component, you will se there the code for displaying diferent maps:
\components\com_phocamaps\views\map\tmpl\default.php
This:
Code: Select all
mapPhocaMap.setMapType(G_SATELLITE_MAP);\components\com_phocagallery\views\map\tmpl\default.php
components\com_phocagallery\views\categories\tmpl\default_map.php
See the Phoca Map for the Javascript code.
Jan
If you find Phoca extensions useful, please support the project
-
mpele
- Phoca Newbie

- Posts: 2
- Joined: 03 Jun 2009, 08:25
Re: Geocoding with satellite default
Thanks,
I have replaced G_NORMAL_MAP with G_HYBRID_MAP and now it works as I would like to.
It would be nice to have ability to choose map type from Properties. It isn't dificult to implement but it can be wery usefull.
Thanks again,
I have replaced G_NORMAL_MAP with G_HYBRID_MAP and now it works as I would like to.
It would be nice to have ability to choose map type from Properties. It isn't dificult to implement but it can be wery usefull.
Thanks again,
-
Claudiolugano
- Phoca Member

- Posts: 18
- Joined: 10 Sep 2008, 15:04
- Location: Switzerland
- Contact:
Re: Geocoding with satellite default
Hi,
sorry come back to this point but I have a problem.
I changed into:
\components\com_phocagallery\views\map\tmpl\default.php
from map_phoca_geo.setMapType(G_NORMAL_MAP); to map_phoca_geo.setMapType(G_SATELLITE_MAP);
and everithng works
I found into
components\com_phocagallery\views\categories\tmpl\default_map.php
//map_phoca_geo.setMapType(G_NORMAL_MAP); and I changed to map_phoca_geo.setMapType(G_SATELLITE_MAP);
and nothing happen in category Geotagging, I continue to see the normal map.
Can somebody to be so kind to tell me what I'm doing wrong?
Thak you in advance for any support.
Claudio
sorry come back to this point but I have a problem.
I changed into:
\components\com_phocagallery\views\map\tmpl\default.php
from map_phoca_geo.setMapType(G_NORMAL_MAP); to map_phoca_geo.setMapType(G_SATELLITE_MAP);
and everithng works
I found into
components\com_phocagallery\views\categories\tmpl\default_map.php
//map_phoca_geo.setMapType(G_NORMAL_MAP); and I changed to map_phoca_geo.setMapType(G_SATELLITE_MAP);
and nothing happen in category Geotagging, I continue to see the normal map.
Can somebody to be so kind to tell me what I'm doing wrong?
Thak you in advance for any support.
Claudio
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Geocoding with satellite default
Hi, you have changed the detail view (popup). For categories see this file:
components\com_phocagallery\views\category\tmpl\default_geotagging.php
Jan
components\com_phocagallery\views\category\tmpl\default_geotagging.php
Jan
If you find Phoca extensions useful, please support the project
-
Claudiolugano
- Phoca Member

- Posts: 18
- Joined: 10 Sep 2008, 15:04
- Location: Switzerland
- Contact:
Re: Geocoding with satellite default
Thank you very much.
Now everithing works.
Ciao.
Claudio
Now everithing works.
Ciao.
Claudio