Page 1 of 1

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

Posted: 13 Nov 2023, 19:56
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

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

Posted: 15 Nov 2023, 00:14
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

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

Posted: 15 Nov 2023, 20:23
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!!

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

Posted: 19 Nov 2023, 16:10
by Jan
OK

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

Posted: 27 Nov 2023, 14:26
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!

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

Posted: 30 Nov 2023, 02:28
by Jan
Ok