You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to display locally hosted (with martin server) tiles on my flutter app, the software shows really good performance but the tiles are disorderly placed which makes it unusable. I'm pretty sure that the problem comes from maplibre gl library as the tiles were perfectly shown on a bunch of other softwares (QGIS, leaflet, ...).
Here is what is displayed on the screen at different zoom levels:
Steps to Reproduce
.
Expected Results
.
Actual Results
.
Code Sample
import'package:flutter/material.dart';
import'package:maplibre_gl/maplibre_gl.dart';
voidmain() {
runApp(
MaterialApp(home:MyApp())
);
}
classMyAppextendsStatelessWidget {
constMyApp({super.key});
// This widget is the root of your application.@overrideWidgetbuild(BuildContext context) {
//styleUrl is the path to a second locally hosted server which returns a JSON style fileconst styleUrl ="http://192.168.1.28:8000/api";
returnMapLibreMap(
styleString: styleUrl,
myLocationEnabled:true,
initialCameraPosition:constCameraPosition(target:LatLng(0.0, 0.0)),
trackCameraPosition:true,
);
}
}
The text was updated successfully, but these errors were encountered:
Platforms
android
Version of flutter maplibre_gl
0.20.0
Bug Description
Hello everyone
I'm trying to display locally hosted (with martin server) tiles on my flutter app, the software shows really good performance but the tiles are disorderly placed which makes it unusable. I'm pretty sure that the problem comes from maplibre gl library as the tiles were perfectly shown on a bunch of other softwares (QGIS, leaflet, ...).
The style file I'm using is in the attached files.
osm_liberty(18).json
Any help would be greatly appreciated!
Thank you!
Here is what is displayed on the screen at different zoom levels:
Steps to Reproduce
.
Expected Results
.
Actual Results
.
Code Sample
The text was updated successfully, but these errors were encountered: