×

Notice

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

TOPIC: Map Background

Map Background 9 years 4 months ago #31440

  • Michel Ollivier
  • Michel Ollivier's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Hi,

For next release, please add map background color option in map.js.

HotspotsManager.module("Entities", function (Entities, HotspotsManager, Backbone, Marionette, $, _) {
Entities.Map = Backbone.Model.extend(
{
defaults: {
backgroundColor: "#1db9e8",
...

Regards
Michel

Map Background 9 years 4 months ago #31441

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hä? You can use custom styles? What's the issue? compojoom.com/support/documentation/hotspots/ch05s05

Map Background 9 years 4 months ago #31458

  • Michel Ollivier
  • Michel Ollivier's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Hi Daniel,

You can style the map with json, but (it seems) you can not change map canvas (the ugly grey behind map) there, it's defined in map option backgroundColor.

If I am not wrong, it'd be great to define this color in settings.

Regards
Michel

Map Background 9 years 4 months ago #31527

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
All right! I just pushed a dev. release that has this option.

regards,
Daniel
  • Page:
  • 1
Time to create page: 0.141 seconds