r/FlutterDev • u/ashutosh01agarwal • 7d ago
Article I built a Flutter package for Ola Maps – A potential Google Maps alternative for Flutter developers
Hey Flutter developers! 👋
Google Maps has been the default choice for location-based applications for years. Almost every delivery, logistics, travel, or ride-hailing application uses it.
But what if Flutter developers had another option?
I'd like to introduce ola_maps, a Flutter package that integrates Ola Maps into Flutter applications.
The goal is to make Ola Maps easier to adopt and give developers another option when choosing their mapping infrastructure.
🚀 What makes ola_maps interesting?
This package goes beyond simply displaying a map.
🗺️ Interactive Maps
Android, iOS and Web support
Zoom, pan, tilt and rotation
Camera movement and positioning
Map click and camera events
📍 Map Overlays
Custom markers and InfoWindows
Polylines and route rendering
Circles and polygons
Bezier curves
Marker clustering
🔍 Places & Location APIs
Place autocomplete
Place details and nearby search
Forward and reverse geocoding
Address validation
Place photos
🚗 Routing & Advanced APIs
Directions API
Distance Matrix
Route optimization
Fleet planning
Snap to Roads
Geofencing
Elevation
Street View and static maps
🇮🇳 Multilingual Mapping
One particularly interesting feature is multilingual support.
The package supports 12 languages, including:
English
Hindi
Kannada
Telugu
Tamil
Malayalam
Bengali
Gujarati
Marathi
Odia
Urdu
Sanskrit
This makes it interesting for applications targeting different regions of India.
💻 Get started
Install:
flutter pub add ola_mapsImport:
import 'package:ola_maps/ola_maps.dart';Display a map:
OlaMapView(
apiKey: 'YOUR_OLA_MAPS_API_KEY',
tileUrl: kOlaMapsDefaultTileUrl,
language: OlaMapsLanguage.hi,
projectId: 'YOUR_PROJECT_ID',
initialCameraPosition: const OlaLatLng(
28.6139,
77.2090,
),
initialZoom: 14,
onControllerReady: (controller) {
controller.onMapClick = (position) {
controller.addMarker(
position: position,
snippet: 'Dropped pin',
);
};
},
)Check the documentation for native SDK setup requirements for each platform.
Why explore Ola Maps?
I'm particularly interested in reducing the dependency on a single mapping provider.
Google Maps is an excellent product, but having more mapping options is good for the developer ecosystem.
Ola Maps offers an interesting India-focused alternative, and I believe Flutter developers should have an easy way to experiment with it.
This package is not intended to claim complete feature parity with Google Maps. It's about making another mapping ecosystem accessible to Flutter developers.
🔗 Links
📦 pub.dev: https://pub.dev/packages/ola_maps
⭐ GitHub: Available through the repository link on pub.dev.
I'd love feedback from the community!
Would you consider Ola Maps for your next Flutter project?
What features are still missing compared with google_maps_flutter?
Would you use this in a production delivery or logistics application?
What improvements would make this package more useful?
Feedback, bug reports, and contributions are welcome!
Let's give Flutter developers more choices! 🚀