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
Zoom-level of map to display and location on the page
-
- Phoca Member
- Posts: 13
- Joined: 02 May 2015, 15:36
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Zoom-level of map to display and location on the page
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
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
-
- Phoca Member
- Posts: 13
- Joined: 02 May 2015, 15:36
Re: Zoom-level of map to display and location on the page
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!!
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!!
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Zoom-level of map to display and location on the page
OK
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 02 May 2015, 15:36
Re: Zoom-level of map to display and location on the page
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!
Thank you for your kind help!
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Zoom-level of map to display and location on the page
Ok
If you find Phoca extensions useful, please support the project