-
Classes Class Description com.aerisweather.aeris.maps.MapOptionsActivityBuilder Helper class for limiting the options that MapOptionsActivity can show. Pass this into AerisMapOptionsActivity (android.content.Context, MapOptionsActivityBuilder) to limit what options are being shown on the options activity. Below are some code examples.Construct a builder to show all polygons, only radar tile, and earthquake and fire point options.
MapOptionsActivityBuilder builder = new MapOptionsActivityBuilder() // show only fire and earthquakes options in points .withPoints(AerisPointData.EARTHQUAKES, AerisPointData.FIRE) .withAllPolygons() // shows only radar tiles // order is (advisories, currents, radar, satellite) .withTiles(false, false, true, false); mapView.startAerisMapOptionsActivity(getActivity(), builder);
Construct a builder to show no polygons, only radar,currents tiles, and stormcells point options
MapOptionsActivityBuilder builder = new MapOptionsActivityBuilder() // show only stormcells .withPoints(AerisPointData.STORM_CELLS) // shows only radar/current // order is (advisories, currents, radar, satellite) .withTiles(false, true, true, false); // call to launch map options activity mapView.startAerisMapOptionsActivity(getActivity(), builder);