Zoom-level of map to display and location on the page

Phoca Maps - displaying maps in Joomla! CMS
PE1PQX
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 May 2015, 15:36

Zoom-level of map to display and location on the page

Post by PE1PQX »

Firstly I like to thank Jan for making this nice piece of add-on for Joomla.

My first question is about the zoom-level of the map to be displayed on a page.
For example: https://www.pe1pqx.eu/home/amateur-radi ... ief-deel-2
I have a map there on the bottom of the page that fully zoomed in centred on "marker 1"
If you zoom out "marker 2" will show up (North-East of the first marker), I like the map to display both markers to begin with.
How do I set the zoomlevel to do just that?

(option 'zoom' in general options in the component for that specific map)

Second question is:
Any map generated by this component/plugin is always centred on the page, is there any way to align it either to the left or right of the page?

With kind and grateful thank you,

André - PE1PQX
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Zoom-level of map to display and location on the page

Post by Jan »

Hi,

1) yes, when you add map or marker, then the zoom level is automatically added - by the info from admin when the marker or map is set by map - it can even be changed in the zoom input

2) you should use CSS to change the align of the map, you can even change the size e.g. to 100% (this can be done even per parameters).

Jan
If you find Phoca extensions useful, please support the project
PE1PQX
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 May 2015, 15:36

Re: Zoom-level of map to display and location on the page

Post by PE1PQX »

Hi Jan,

Thank you for your reply.
At first, the zoom value did not matter, whatever I put in there I get maximum zoom-in.
But now I see that value 1 is maximum zoom-out (world map) and the zoom value does make a difference.
problem solved then on part 1. (zoom edited)

For part 2 (CSS style) I have to find the time next weekend/early next week to have a look on this.

Again, thanks!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Zoom-level of map to display and location on the page

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
PE1PQX
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 May 2015, 15:36

Re: Zoom-level of map to display and location on the page

Post by PE1PQX »

Due to my busy work-schedule, I decided to use the 'width=0' option, making the map page-wide.

Thank you for your kind help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Zoom-level of map to display and location on the page

Post by Jan »

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