Skip to content

Commit

Permalink
docs: cleanup (#493)
Browse files Browse the repository at this point in the history
* chore: remove misplaced file
* chore: remove unused template
* docs: add unified auto generated header
* docs: run codegen
  • Loading branch information
KiwiKilian authored Nov 18, 2024
1 parent 238af62 commit cab6e95
Show file tree
Hide file tree
Showing 44 changed files with 70 additions and 1,325 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY
// THIS FILE IS AUTOGENERATED
// This file is auto-generated from scripts/templates/RCTMLNStyleFactory.java.ejs

package com.maplibre.rctmln.components.styles;

Expand Down
2 changes: 1 addition & 1 deletion docs/Annotation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Annotation.tsx -->
# `<MapLibreGL.Annotation />`

Expand Down
2 changes: 1 addition & 1 deletion docs/BackgroundLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/BackgroundLayer.tsx -->
# `<MapLibreGL.BackgroundLayer />`

Expand Down
2 changes: 1 addition & 1 deletion docs/Callout.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Callout.tsx -->
# `<MapLibreGL.Callout />`
Callout that displays information about a selected annotation near the annotation.
Expand Down
2 changes: 1 addition & 1 deletion docs/Camera.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Camera.tsx -->
# `<MapLibreGL.Camera />`

Expand Down
2 changes: 1 addition & 1 deletion docs/CircleLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/CircleLayer.tsx -->
# `<MapLibreGL.CircleLayer />`
CircleLayer is a style layer that renders one or more filled circles on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/FillExtrusionLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/FillExtrusionLayer.tsx -->
# `<MapLibreGL.FillExtrusionLayer />`
FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/FillLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/FillLayer.tsx -->
# `<MapLibreGL.FillLayer />`
FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/HeadingIndicator.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/HeadingIndicator.tsx -->
# `<MapLibreGL.HeadingIndicator />`

Expand Down
2 changes: 1 addition & 1 deletion docs/HeatmapLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/HeatmapLayer.tsx -->
# `<MapLibreGL.HeatmapLayer />`
HeatmapLayer is a style layer that renders one or more filled circles on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/ImageSource.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/ImageSource.tsx -->
# `<MapLibreGL.ImageSource />`
ImageSource is a content source that is used for a georeferenced raster image to be shown on the map.<br/>The georeferenced image scales and rotates as the user zooms and rotates the map
Expand Down
2 changes: 1 addition & 1 deletion docs/Images.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Images.tsx -->
# `<MapLibreGL.Images />`
Images defines the images used in Symbol etc layers
Expand Down
2 changes: 1 addition & 1 deletion docs/Light.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Light.tsx -->
# `<MapLibreGL.Light />`
Light represents the light source for extruded geometries
Expand Down
2 changes: 1 addition & 1 deletion docs/LineLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/LineLayer.tsx -->
# `<MapLibreGL.LineLayer />`
LineLayer is a style layer that renders one or more stroked polylines on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/MapView.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/MapView.tsx -->
# `<MapLibreGL.MapView />`
MapView backed by MapLibre Native
Expand Down
2 changes: 1 addition & 1 deletion docs/MarkerView.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/MarkerView.tsx -->
# `<MapLibreGL.MarkerView />`
MarkerView allows you to place a interactive react native marker to the map.<br/><br/>If you have static view consider using PointAnnotation or SymbolLayer they'll offer much better performance<br/>.<br/>This is based on [MakerView plugin](https://docs.mapbox.com/android/plugins/overview/markerview/) on Android<br/>and PointAnnotation on iOS.
Expand Down
2 changes: 1 addition & 1 deletion docs/NativeUserLocation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/NativeUserLocation.tsx -->
# `<MapLibreGL.NativeUserLocation />`

Expand Down
2 changes: 1 addition & 1 deletion docs/PointAnnotation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/PointAnnotation.tsx -->
# `<MapLibreGL.PointAnnotation />`
PointAnnotation represents a one-dimensional shape located at a single geographical coordinate.<br/><br/>Consider using ShapeSource and SymbolLayer instead, if you have many points and you have static images,<br/>they'll offer much better performance<br/><br/>.<br/>If you need interctive views please use MarkerView,<br/>as with PointAnnotation on Android child views are rendered onto a bitmap for better performance.
Expand Down
2 changes: 1 addition & 1 deletion docs/RasterLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/RasterLayer.tsx -->
# `<MapLibreGL.RasterLayer />`

Expand Down
2 changes: 1 addition & 1 deletion docs/RasterSource.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/RasterSource.tsx -->
# `<MapLibreGL.RasterSource />`
RasterSource is a map content source that supplies raster image tiles to be shown on the map.<br/>The location of and metadata about the tiles are defined either by an option dictionary<br/>or by an external file that conforms to the TileJSON specification.
Expand Down
2 changes: 1 addition & 1 deletion docs/ShapeSource.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/ShapeSource.tsx -->
# `<MapLibreGL.ShapeSource />`
ShapeSource is a map content source that supplies vector shapes to be shown on the map.<br/>The shape may be a url or a GeoJSON object
Expand Down
2 changes: 1 addition & 1 deletion docs/Style.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/Style.tsx -->
# `<MapLibreGL.Style />`
Style is a component that automatically adds sources / layers to the map using MapLibre Style Spec.<br/>Only [`sources`](https://maplibre.org/maplibre-gl-js-docs/style-spec/sources/) & [`layers`](https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/) are supported.<br/>Other fields such as `sprites`, `glyphs` etc. will be ignored. Not all layer / source attributes from the style spec are supported, in general the supported attributes will be mentioned under https://github.com/maplibre/maplibre-react-native/tree/main/docs.<br/><br/>TODO: Maintainer forking this project does not understand the above comment regarding what is supported.
Expand Down
2 changes: 1 addition & 1 deletion docs/SymbolLayer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/SymbolLayer.tsx -->
# `<MapLibreGL.SymbolLayer />`
SymbolLayer is a style layer that renders icon and text labels at points or along lines on the map.
Expand Down
2 changes: 1 addition & 1 deletion docs/UserLocation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/UserLocation.tsx -->
# `<MapLibreGL.UserLocation />`

Expand Down
2 changes: 1 addition & 1 deletion docs/VectorSource.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/components/VectorSource.tsx -->
# `<MapLibreGL.VectorSource />`
VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.<br/>The location of and metadata about the tiles are defined either by an option dictionary or by an external file that conforms to the TileJSON specification.
Expand Down
2 changes: 1 addition & 1 deletion docs/coordinates.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/modules/location/locationManager.ts -->
# `<MapLibreGL.coordinates />`
Coorinates sent by locationManager
Expand Down
2 changes: 1 addition & 1 deletion docs/location.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/modules/location/locationManager.ts -->
# `<MapLibreGL.location />`
Location sent by locationManager
Expand Down
2 changes: 1 addition & 1 deletion docs/offlineManager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/modules/offline/offlineManager.ts -->
# `<MapLibreGL.offlineManager />`
OfflineManager implements a singleton (shared object) that manages offline packs.<br/>All of this class’s instance methods are asynchronous, reflecting the fact that offline resources are stored in a database.<br/>The shared object maintains a canonical collection of offline packs.
Expand Down
2 changes: 1 addition & 1 deletion docs/snapshotManager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- DO NOT MODIFY! -->
<!-- DO NOT MODIFY -->
<!-- This file is auto-generated from javascript/modules/snapshot/snapshotManager.ts -->
# `<MapLibreGL.snapshotManager />`
The snapshotManager generates static raster images of the map.<br/>Each snapshot image depicts a portion of a map defined by an SnapshotOptions object you provide.<br/>The snapshotter generates the snapshot asynchronous.
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMLN/RCTMLNStyle.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY
// THIS FILE IS AUTOGENERATED
// This file is auto-generated from scripts/templates/RCTMLNStyle.h.ejs

#import "RCTMLNStyle.h"
#import "RCTMLNStyleValue.h"
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMLN/RCTMLNStyle.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT MODIFY
// THIS FILE IS AUTOGENERATED
// This file is auto-generated from scripts/templates/RCTMLNStyle.m.ejs

#import "RCTMLNStyle.h"
#import "RCTMLNUtils.h"
Expand Down
Loading

0 comments on commit cab6e95

Please sign in to comment.