Skip to content

Commit

Permalink
docs: remove mapbox links (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian authored Feb 26, 2025
1 parent a83ba69 commit d428476
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/content/components/general/marker-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_label: MarkerView

# `<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.
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://github.com/maplibre/maplibre-plugins-android/tree/main/plugin-markerview) on Android<br/>and PointAnnotation on iOS.

## Props

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2564,7 +2564,7 @@
"name": "MapView"
},
"MarkerView": {
"description": "MarkerView allows you to place a interactive react native marker to the map.\n\nIf you have static view consider using PointAnnotation or SymbolLayer they'll offer much better performance\n.\nThis is based on [MakerView plugin](https://docs.mapbox.com/android/plugins/overview/markerview/) on Android\nand PointAnnotation on iOS.",
"description": "MarkerView allows you to place a interactive react native marker to the map.\n\nIf you have static view consider using PointAnnotation or SymbolLayer they'll offer much better performance\n.\nThis is based on [MakerView plugin](https://github.com/maplibre/maplibre-plugins-android/tree/main/plugin-markerview) on Android\nand PointAnnotation on iOS.",
"displayName": "MarkerView",
"methods": [],
"props": [
Expand Down
3 changes: 2 additions & 1 deletion examples/shared/src/examples/Annotations/Heatmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import {
ShapeSource,
} from "@maplibre/maplibre-react-native";

import earthquakesData from "../../assets/geojson/earthquakes.json";
import { sheet } from "../../styles/sheet";

export function Heatmap() {
return (
<MapView style={sheet.matchParent}>
<ShapeSource
id="earthquakes"
url="https://www.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson"
shape={earthquakesData as unknown as GeoJSON.FeatureCollection}
>
<HeatmapLayer
id="earthquakes"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MarkerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface NativeProps extends ViewProps {
*
* If you have static view consider using PointAnnotation or SymbolLayer they'll offer much better performance
* .
* This is based on [MakerView plugin](https://docs.mapbox.com/android/plugins/overview/markerview/) on Android
* This is based on [MakerView plugin](https://github.com/maplibre/maplibre-plugins-android/tree/main/plugin-markerview) on Android
* and PointAnnotation on iOS.
*/
export const MarkerView = ({
Expand Down

0 comments on commit d428476

Please sign in to comment.