Marker Info Window Dimension

elektrofreitag
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 07 Mar 2017, 10:05

Marker Info Window Dimension

Post by elektrofreitag » 15 Mar 2017, 16:08

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: 6083
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Marker Info Window Dimension

Post by Benno » 15 Mar 2017, 16:33

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 » 15 Mar 2017, 16:46

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: 38022
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Marker Info Window Dimension

Post by Jan » 16 Mar 2017, 15:06

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 » 17 Mar 2017, 09:45

Thank you so much!
Amazing answer :)

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38022
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Marker Info Window Dimension

Post by Jan » 18 Mar 2017, 22:15

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

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest