Skip to content

Commit

Permalink
refactor: move jni files to src/native/jni (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha authored Oct 17, 2024
1 parent dd77273 commit 62ac798
Show file tree
Hide file tree
Showing 191 changed files with 10 additions and 12 deletions.
9 changes: 6 additions & 3 deletions docs/docs/annotations/polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ Widget build(BuildContext context) {
Polygon(
coordinates: [
[
Position(9.17, 47.68),
Position(9.5, 48),
Position(9, 48),
Position(8.201306116882563, 48.107357488669464),
Position(8.885254895692924, 48.09428546381665),
Position(8.759684141159909, 47.69326800157776),
Position(9.631980099303235, 48.08929468133098),
Position(8.68543348810175, 48.45383566718806),
Position(8.201306116882563, 48.107357488669464),
],
],
),
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
title: 'MapLibre Flutter',
tagline: 'Unofficial MapLibre bindings for Flutter',
tagline: 'Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.',
favicon: 'img/favicon-32x32.png',

// Set the production url of your site here
Expand Down
5 changes: 0 additions & 5 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ function HomepageHeader() {
to="/docs/getting-started/add-dependency">
Getting Started
</Link>
<Link
className="button button--secondary button--lg"
to="/demo/">
Example App
</Link>
</div>
</div>
</header>
Expand Down
2 changes: 1 addition & 1 deletion jnigen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android_sdk_config:
suspend_fun_to_async: true
output:
dart:
path: 'lib/src/jni/'
path: 'lib/src/native/jni/'
source_path:
- 'android/src/main'
classes:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/native/extensions.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/rendering.dart';
import 'package:maplibre/maplibre.dart';
import 'package:maplibre/src/jni/jni.dart' as jni;
import 'package:maplibre/src/native/jni/jni.dart' as jni;
import 'package:maplibre/src/native/pigeon.g.dart' as pigeon;

/// Extension methods for the [Position] class. Not exported publicly.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/src/native/widget_state_jni.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import 'package:flutter/services.dart';
import 'package:jni/jni.dart';
import 'package:maplibre/maplibre.dart';
import 'package:maplibre/src/annotation/annotation_manager.dart';
import 'package:maplibre/src/jni/jni.dart' as jni;
import 'package:maplibre/src/native/extensions.dart';
import 'package:maplibre/src/native/jni/jni.dart' as jni;
import 'package:maplibre/src/native/pigeon.g.dart' as pigeon;

/// The implementation that gets used for state of the [MapLibreMap] widget on
Expand Down

0 comments on commit 62ac798

Please sign in to comment.