×

Notice

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

TOPIC: Display map bubble in more window

Display map bubble in more window 13 years 2 months ago #13862

  • Gregory S.
  • Gregory S.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Is there a way to get the map pin's bubble to display when the more info page loads? Right now when I click more from the main map, the more info page loads but all the user can see is the map pin. I'm trying to get it to look like the attached screenshot as soon as the page loads instead of waiting for the user to click on the map pin. Without the info bubble displaying, the location has no name.

Display map bubble in more window 13 years 2 months ago #13872

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Gregory,
Why do you want it to be open per default? There is no "important" information in the bubble that is hidden on the page? I mean - everything about the hotspot is on the page... Location, description...

Daniel

Display map bubble in more window 13 years 2 months ago #13874

  • Gregory S.
  • Gregory S.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
One reason is that there is no name visible for the hotspot. There is only the address above the map and the description below. I can add the name to the description but these hotspots will be entered by non-admins who won't always follow instruction (in fact probably won't). Another reason is that it looks nice, IMHO. It takes advantage of the large map that is taking up most of the space on the "more" page.

Display map bubble in more window 13 years 2 months ago #13885

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
This with the title is a bug! In the next version you will see the title on the description page.
Anyway if you really want to show the infowindow, then go to media/com_hotspots/js/Hotspots:Hotspot.js
go to line 37
this.map.setZoom(this.options.mapStartZoom.toInt());
and after it add this line
marker.fireEvent('click');

Cheers,
Daniel

P.S. If you like the component and the support, please don't forget to write a review here:
extensions.joomla.org/extensions/maps-a-...-locations/maps/9468

Display map bubble in more window 13 years 2 months ago #13888

  • Gregory S.
  • Gregory S.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thank you. Another excellent solution!

I would be nice to have this as an option in the admin panel in a future release.
  • Page:
  • 1
Time to create page: 0.112 seconds