Ejemplo n.º 1
0
  private OsmInteractiveView(
      Context context, DispatcherInterface dispatcher, String key, DynTileProvider p) {
    super(context, p, new MapDensity(context));

    // provider = p;

    solidKey = key;

    storage = Storage.global(context);
    slock = new SolidPositionLock(context, solidKey);

    map.setMapListener(this);
    map.setOnTouchListener(this);

    loadState();

    dispatcher.addTarget(this, InfoID.LOCATION);
  }