Skip to content

MBTiles not displaying on the map #2044

@lagrandecode

Description

@lagrandecode

What is the bug?

I am trying to display mbtiles on top of google map but to no avail. The map is loading perfectly but the mbtiles is not displaying on the map.

How can we reproduce it?

HERE IS MY CODE:
import 'dart:io';
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:path_provider/path_provider.dart';
import 'package:sqflite/sqflite.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
const MyApp({super.key});

@OverRide
Widget build(BuildContext context) {
return MaterialApp(
home: const MapScreen(),
);
}
}

class MapScreen extends StatefulWidget {
const MapScreen({super.key});

@OverRide
State createState() => _MapScreenState();
}

Do you have a potential solution?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis bug isn't reproducible, or the feature already exists

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions