×

Notice

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

TOPIC: Change size of popup hotspot and listed number

Change size of popup hotspot and listed number 11 years 4 months ago #21805

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi there,

I have a question, how do I change the default size of the popup hotspot in the map? I just want to make the default size a little bit bigger so that the automatic scrollbars dissapear. I just can't find in the CSS.

And, how do I increase the maximum number of hotspots, default is 100, but it would be nice if it would be 200. And mayby as a feature question, add some clustering? I don't know if that's possible?

I'm using 3.5 Pro, compared to the modifications I made to 3.2 things look different, so therefore I'm asking.

Thank you,
Regards,

Erwin

Change size of popup hotspot and listed number 11 years 4 months ago #21814

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
media\com_hotspots\js\modules\hotspot.js

line 34:
this.infoWindow.setOptions({disableAutoPan: false, minWidth: 200, maxWidth: 320, minHeight: 30, maxHeight: 350});

Play with those :)
The following user(s) said Thank You: Erwin de Wolff

Change size of popup hotspot and listed number 11 years 4 months ago #21822

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Thanks! That did the trick! :)

And, the last question, how can I increase the limit of 100 hotspots seen in the map?

Change size of popup hotspot and listed number 11 years 4 months ago #21823

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Erwin de Wolff wrote: Thanks! That did the trick! :)

And, the last question, how can I increase the limit of 100 hotspots seen in the map?

And a last last question came up, it seems that if I show the hotspot through the plugin_content, the width/height of the hotspot is different... Is this somewhere else defined?

Change size of popup hotspot and listed number 11 years 4 months ago #21827

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
the plugin uses this file:
media\com_hotspots\js\modules\hotspot\hotspot.js - look for the same line.

About more thatn 100 hotspots look at this:
compojoom.com/support/documentation/hotspots/ch05#idp122320

Regards,
Daniel

Change size of popup hotspot and listed number 11 years 3 months ago #22098

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Daniel Dimitrov wrote: media\com_hotspots\js\modules\hotspot.js

line 34:
this.infoWindow.setOptions({disableAutoPan: false, minWidth: 200, maxWidth: 320, minHeight: 30, maxHeight: 350});

Play with those :)

Hi Daniel,

I modified these in version 3.5.1. pro, but the popup size doesn't change in a map.
I cleared the cache, remove the tile but without succes...

Do you have any idea why the popup window size isn't changed?
I changed it to this:

this.infoWindow.setOptions({disableAutoPan: false, minWidth: 220, maxWidth: 320, minHeight: 220, maxHeight: 350});

But, the popup keeps an height of 98px and a width of 112px.

Kind Regards,

Erwin

Change size of popup hotspot and listed number 11 years 3 months ago #22103

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Can you show us a link to your page? Also how big is your map?

Change size of popup hotspot and listed number 11 years 3 months ago #22109

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Daniel Dimitrov wrote: Can you show us a link to your page? Also how big is your map?

Hi Daniel,

The map has around 100 markers, I can give you the link, but can I send you that in private? This because the development site is closed for public access.

Regards,

Erwin

Change size of popup hotspot and listed number 11 years 3 months ago #22113

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Online
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, send me a mail.
  • Page:
  • 1
Time to create page: 0.119 seconds