
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }),
alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>; $config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed

Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski ed@iwanski.com wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }), alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>; $config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed

This is now possible in /settings/section=wui/
http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_Settings_-_Googl...
adam. On 15/02/2017 16:50:57, Ed Iwanski ed@iwanski.com wrote: Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }),
alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>;
$config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Greatly appreciated Adam. I see the commit in r8361, We will wait until that gets pushed to the pro version.
On Wed, Feb 15, 2017 at 1:03 PM, Adam Armstrong adama@observium.org wrote:
This is now possible in /settings/section=wui/
http://omega.memetic.org/~adama/monosnap/Observium_Dev__ __-_Settings_-_Google_Chrome_2017-02-15_19.03.33.png
adam.
On 15/02/2017 16:50:57, Ed Iwanski ed@iwanski.com wrote: Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski ed@iwanski.com wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }), alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>; $config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Do you mean stable?
adam. On 15/02/2017 19:17:40, Ed Iwanski ed@iwanski.com wrote: Greatly appreciated Adam. I see the commit in r8361, We will wait until that gets pushed to the pro version.
On Wed, Feb 15, 2017 at 1:03 PM, Adam Armstrong <adama@observium.org [mailto:adama@observium.org]> wrote:
This is now possible in /settings/section=wui/
http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_Settings_-_Googl... [http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_Settings_-_Googl...]
adam. On 15/02/2017 16:50:57, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote: Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }),
alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>;
$config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Yes apologies, we are running 17.2.8353 stable. We can wait for the change to make it to stable, it was just something we were looking to do as we are in the process of adding hundreds of additional locations and it got quite cramped at certain zoom levels.
On Wed, Feb 15, 2017 at 1:20 PM, Adam Armstrong adama@observium.org wrote:
Do you mean stable?
adam.
On 15/02/2017 19:17:40, Ed Iwanski ed@iwanski.com wrote: Greatly appreciated Adam. I see the commit in r8361, We will wait until that gets pushed to the pro version.
On Wed, Feb 15, 2017 at 1:03 PM, Adam Armstrong adama@observium.org wrote:
This is now possible in /settings/section=wui/
http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_ Settings_-_Google_Chrome_2017-02-15_19.03.33.png
adam.
On 15/02/2017 16:50:57, Ed Iwanski ed@iwanski.com wrote: Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski ed@iwanski.com wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }), alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>; $config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Ok.
We have a minor issue that blocks merging to stable at the moment, but when that's cleared I'll merge down.
Thanks, adam. On 15/02/2017 19:42:43, Ed Iwanski ed@iwanski.com wrote: Yes apologies, we are running 17.2.8353 stable. We can wait for the change to make it to stable, it was just something we were looking to do as we are in the process of adding hundreds of additional locations and it got quite cramped at certain zoom levels.
On Wed, Feb 15, 2017 at 1:20 PM, Adam Armstrong <adama@observium.org [mailto:adama@observium.org]> wrote:
Do you mean stable?
adam. On 15/02/2017 19:17:40, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote: Greatly appreciated Adam. I see the commit in r8361, We will wait until that gets pushed to the pro version.
On Wed, Feb 15, 2017 at 1:03 PM, Adam Armstrong <adama@observium.org [mailto:adama@observium.org]> wrote:
This is now possible in /settings/section=wui/
http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_Settings_-_Googl... [http://omega.memetic.org/~adama/monosnap/Observium_Dev____-_Settings_-_Googl...]
adam. On 15/02/2017 16:50:57, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote: Anyone have any input on this?
The main question was if there was a way currently to reduce the marker size on the front page map.
Is this maybe something I should have requested on jira? I have not done that before and did not want to enter something there if it was not the right place.
On Wed, Feb 8, 2017 at 3:38 PM, Ed Iwanski <ed@iwanski.com [mailto:ed@iwanski.com]> wrote:
We are adding quite a few locations to our install and after adding the first batch our front page map ends up with quite a bit of overlap while we have many more to add. It got me thinking if we could just make the individual markers smaller it would work better for us. Looking into the settings it seems there was an option for:
$config['frontpage']['map']['dotsize'] = 10;
Changing this seems to have no effect and a quick glance it does not seem to be used anymore
Doing a little more digging in the code it looks like the html/includes/map/leaflet.inc.php has options defined to add the svg icons with static sizes with the following:
var icons = { ok: L.icon({ iconUrl: 'images/svg/ok.svg', popupAnchor: [0, 16], iconSize: [24, 24] // size of the icon }),
alert: L.icon({ iconUrl: 'images/svg/high_priority.svg', popupAnchor: [0, 12], iconSize: [32, 32] // size of the icon }), };
It seems just changing the values in iconSize: [X,Y] accomplishes what we would like to do to make the marker size a bit smaller and the maps to be more clear with many more sites added. Maybe 2 new example variables to allow a little further map customization?
$config['frontpage']['map']['markeroksize'] = <value>;
$config['frontpage']['map']['markeralertsize'] = <value>;
Thanks,
Ed
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Ed Iwanski