Marker Info Window Dimension

Phoca Maps - displaying maps in Joomla! CMS
elektrofreitag
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Mar 2017, 10:05

Marker Info Window Dimension

Post by elektrofreitag »

Hello,
I´d like to Change the dimensions of the phoca maps info window. Where can I insert a bigger width..? If I Change the dimensions in the backend (component), there is more space but I still Need to scroll, because not the window itself gets bigger; only the Content area.

Anyone an ideo..?

Thanks in advance
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Marker Info Window Dimension

Post by Benno »

Hi,
Du kannst doch für jeden einzelnen Marker in den allgemeinen Optionen des jeweiligen Markers die Inhaltshöhe und Breite individuell festlegen, oder habe ich Dich da irgendwie mißverstanden...

Freundliche Grüße,
Benno
elektrofreitag
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Mar 2017, 10:05

Re: Marker Info Window Dimension

Post by elektrofreitag »

Hi, ja grundsätzlich schon. Aber da vergrößert sich nur der reine "Inhaltsbereich". Das Info-Fenster selber geht nur bis ca. 677px und erzeugt dann einen Scrollbalken in der horizontale.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Marker Info Window Dimension

Post by Jan »

Hi, yes, you can size it with the content, etc. but the last word has the Google Maps API which then makes the size automatically to fit the size of the marker to the maps. The marker window is automatically resized and scrollbars are automatically added by the API.

But sometimes you can influence it. E.g. if you add an image into the marker window content without definition of the size (width, height) then the marker window does not know the size of the content and adds automatically the scrollbars. So when images are inside the marker, they should get the width and height attribute.

Image



Jan
If you find Phoca extensions useful, please support the project
elektrofreitag
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Mar 2017, 10:05

Re: Marker Info Window Dimension

Post by elektrofreitag »

Thank you so much!
Amazing answer :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Marker Info Window Dimension

Post by Jan »

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