×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: height of infowindows

height of infowindows 11 years 9 months ago #16926

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Hi Daniel,

Is there any way to keep the height of infowindows considering the content of 'short description' field and not the size of the browser's screen?

If I keep maximized the browser (covering the whole screen) there is no problem, but if i have the browser in windows mode, the content of the infowindows starts to be outside them. This is happening when the map is in full screen mode.

Re: height of infowindows 11 years 9 months ago #16928

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Eliecer,
I'm afraid not. As I said in previous conversations - this is the standard infowindow and that is the way it behaves. A workaround should be to create your own infowindow class - I wanted to experiment with this for a long time so maybe I should put it a little higher on the to do list.

Kind regards,
Daniel

Re: height of infowindows 11 years 9 months ago #16929

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
This is a different scenario from previous conversations. Once again, this is happening only when you have the map in full screen mode, and not when it's in regular mode.

Too bad, one more thing to remove manually from the code. How can I remove the full screen option from the map?

Re: height of infowindows 11 years 9 months ago #16930

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Can you give me an url to see what you mean. I have the feeling that we are talking about different stuff.

Daniel

Re: height of infowindows 11 years 9 months ago #16931

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
The following images are showing what's happening at http://demo.compojoom.com/hotspots





Re: height of infowindows 11 years 9 months ago #16932

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No, that is exactly the same thing that I talk about.

If for example in the global config you set height for the map of 200px, then you'll see the same behavior of the info. This is extremly annoying, but I have no idea for a workaround - I've already asked in google groups about that and so far haven't gotten an answer. The only possible solution that I can think of is to write my own infowindow class.

You should have an option in the settings to remove the fullscreen option.

Daniel

Re: height of infowindows 11 years 9 months ago #16933

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Yes, that's annoying.

In the global config,can we set the height in %, something like 100%?

I am thinking that maybe the map could grab the relative height of the div in which it is located. I am using a full screen map in my new website, so, the fullscreen button won't be necessary anymore.
  • Page:
  • 1
Time to create page: 0.111 seconds