Search in sources :

Example 1 with MapOptions

use of org.discotools.gwt.leaflet.client.map.MapOptions in project opennms by OpenNMS.

the class NodeMapWidget method createMap.

private void createMap(final String divId) {
    final MapOptions options = new MapOptions();
    options.setCenter(new LatLng(0, 0));
    options.setProperty("zoomControl", false);
    options.setZoom(1);
    options.setMaxZoom(15);
    m_map = new Map(divId, options);
}
Also used : MapOptions(org.discotools.gwt.leaflet.client.map.MapOptions) LatLng(org.discotools.gwt.leaflet.client.types.LatLng) Map(org.opennms.features.vaadin.nodemaps.internal.gwt.client.Map)

Aggregations

MapOptions (org.discotools.gwt.leaflet.client.map.MapOptions)1 LatLng (org.discotools.gwt.leaflet.client.types.LatLng)1 Map (org.opennms.features.vaadin.nodemaps.internal.gwt.client.Map)1