any_map_osm 0.1.0 copy "any_map_osm: ^0.1.0" to clipboard
any_map_osm: ^0.1.0 copied to clipboard

OpenStreetMap adapter for any_map using flutter_map. Free, open-source tile rendering with no API key required.

any_map_osm #

OpenStreetMap adapter for any_map using flutter_map. Free, open-source tile rendering with no API key required.

Features #

  • Declarative overlay rendering (markers, polylines, polygons, circles)
  • Camera control: animateCamera, moveCamera, fitBounds
  • Custom tile URL template support
  • Polygon holes support
  • Supports Android, iOS, Web, macOS, Windows, Linux

Usage #

import 'package:any_map/any_map.dart';
import 'package:any_map_osm/any_map_osm.dart';

AnyMapWidget(
  adapter: OsmAdapter(),
  initialCamera: AnyCameraPosition(
    target: AnyLatLng(17.3850, 78.4867),
    zoom: 12,
  ),
  markers: [
    AnyMarker(id: 'pin', position: AnyLatLng(17.3616, 78.4747), title: 'Charminar'),
  ],
)

License #

MIT

0
likes
120
points
183
downloads

Documentation

API reference

Publisher

verified publisherramprasadsreerama.co.in

Weekly Downloads

OpenStreetMap adapter for any_map using flutter_map. Free, open-source tile rendering with no API key required.

Homepage
Repository (GitHub)
View/report issues

Topics

#maps #openstreetmap #flutter-map

License

MIT (license)

Dependencies

any_map, flutter, flutter_map, latlong2

More

Packages that depend on any_map_osm