diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/AnimatedImageSourceActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/AnimatedImageSourceActivity.java index c448212b2..d6574d06e 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/AnimatedImageSourceActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/AnimatedImageSourceActivity.java @@ -26,7 +26,7 @@ import com.mapbox.mapboxsdk.utils.BitmapUtils; * Test activity showing how to use a series of images to create an animation * with an ImageSource *

- * GL-native equivalent of https://www.mapbox.com/mapbox-gl-js/example/animate-images/ + * GL-native equivalent of https://maplibre.org/maplibre-gl-js-docs/example/animate-images/ *

*/ public class AnimatedImageSourceActivity extends AppCompatActivity implements OnMapReadyCallback { diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/HeatmapLayerActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/HeatmapLayerActivity.java index ef02f671f..afc3c8c11 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/HeatmapLayerActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/HeatmapLayerActivity.java @@ -42,7 +42,7 @@ import static com.mapbox.mapboxsdk.style.layers.PropertyFactory.heatmapWeight; */ public class HeatmapLayerActivity extends AppCompatActivity { - private static final String EARTHQUAKE_SOURCE_URL = "https://www.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson"; + private static final String EARTHQUAKE_SOURCE_URL = "https://maplibre.org/maplibre-gl-js-docs/assets/earthquakes.geojson"; private static final String EARTHQUAKE_SOURCE_ID = "earthquakes"; private static final String HEATMAP_LAYER_ID = "earthquakes-heat"; private static final String HEATMAP_LAYER_SOURCE = "earthquakes"; diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/RealTimeGeoJsonActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/RealTimeGeoJsonActivity.java index d6caffc70..1cbe1690b 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/RealTimeGeoJsonActivity.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/RealTimeGeoJsonActivity.java @@ -24,7 +24,7 @@ import static com.mapbox.mapboxsdk.style.layers.PropertyFactory.iconImage; /** * Test activity showcasing using realtime GeoJSON to move a symbol on your map *

- * GL-native equivalent of https://www.mapbox.com/mapbox-gl-js/example/live-geojson/ + * GL-native equivalent of https://maplibre.org/maplibre-gl-js-docs/example/live-geojson/ *

*/ public class RealTimeGeoJsonActivity extends AppCompatActivity implements OnMapReadyCallback { diff --git a/platform/ios/platform/darwin/src/MGLImageSource.h b/platform/ios/platform/darwin/src/MGLImageSource.h index 66acd39e8..3a3ca53e9 100644 --- a/platform/ios/platform/darwin/src/MGLImageSource.h +++ b/platform/ios/platform/darwin/src/MGLImageSource.h @@ -38,7 +38,7 @@ MGL_EXPORT bottomLeft: CLLocationCoordinate2D(latitude: 37.936, longitude: -80.425), bottomRight: CLLocationCoordinate2D(latitude: 37.936, longitude: -71.516), topRight: CLLocationCoordinate2D(latitude: 46.437, longitude: -71.516)) - let source = MGLImageSource(identifier: "radar", coordinateQuad: coordinates, url: URL(string: "https://www.mapbox.com/mapbox-gl-js/assets/radar.gif")!) + let source = MGLImageSource(identifier: "radar", coordinateQuad: coordinates, url: URL(string: "https://maplibre.org/maplibre-gl-js-docs/assets/radar.gif")!) mapView.style?.addSource(source) ``` diff --git a/platform/ios/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/ios/platform/darwin/test/MGLDocumentationExampleTests.swift index 326881dc3..9d744a29d 100644 --- a/platform/ios/platform/darwin/test/MGLDocumentationExampleTests.swift +++ b/platform/ios/platform/darwin/test/MGLDocumentationExampleTests.swift @@ -231,7 +231,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate { bottomLeft: CLLocationCoordinate2D(latitude: 37.936, longitude: -80.425), bottomRight: CLLocationCoordinate2D(latitude: 37.936, longitude: -71.516), topRight: CLLocationCoordinate2D(latitude: 46.437, longitude: -71.516)) - let source = MGLImageSource(identifier: "radar", coordinateQuad: coordinates, url: URL(string: "https://www.mapbox.com/mapbox-gl-js/assets/radar.gif")!) + let source = MGLImageSource(identifier: "radar", coordinateQuad: coordinates, url: URL(string: "https://maplibre.org/maplibre-gl-js-docs/assets/radar.gif")!) mapView.style?.addSource(source) //#-end-example-code diff --git a/platform/ios/platform/ios/app/MBXViewController.m b/platform/ios/platform/ios/app/MBXViewController.m index 0e264c055..44be36795 100644 --- a/platform/ios/platform/ios/app/MBXViewController.m +++ b/platform/ios/platform/ios/app/MBXViewController.m @@ -1426,7 +1426,7 @@ CLLocationCoordinate2D randomWorldCoordinate(void) { { 37.936, -71.516 }, { 46.437, -71.516 } }; - MGLImageSource *imageSource = [[MGLImageSource alloc] initWithIdentifier:@"style-image-source-id" coordinateQuad:coordinateQuad URL:[NSURL URLWithString:@"https://www.mapbox.com/mapbox-gl-js/assets/radar0.gif"]]; + MGLImageSource *imageSource = [[MGLImageSource alloc] initWithIdentifier:@"style-image-source-id" coordinateQuad:coordinateQuad URL:[NSURL URLWithString:@"https://maplibre.org/maplibre-gl-js-docs/assets/radar0.gif"]]; [self.mapView.style addSource:imageSource]; @@ -1444,7 +1444,7 @@ CLLocationCoordinate2D randomWorldCoordinate(void) { - (void)updateAnimatedImageSource:(NSTimer *)timer { static int radarSuffix = 0; MGLImageSource *imageSource = (MGLImageSource *)timer.userInfo; - NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"https://www.mapbox.com/mapbox-gl-js/assets/radar%d.gif", radarSuffix++]]; + NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"https://maplibre.org/maplibre-gl-js-docs/assets/radar%d.gif", radarSuffix++]]; [imageSource setValue:url forKey:@"URL"]; if (radarSuffix > 3) { radarSuffix = 0; diff --git a/platform/ios/platform/macos/app/MapDocument.m b/platform/ios/platform/macos/app/MapDocument.m index 35d49f690..c2b5fb63c 100644 --- a/platform/ios/platform/macos/app/MapDocument.m +++ b/platform/ios/platform/macos/app/MapDocument.m @@ -1032,7 +1032,7 @@ NSArray> *MBXFlattenedShapes(NSArray> *sha [self.mapView.style addLayer:ohioLayer]; } - NSURL *imageURL = [NSURL URLWithString:@"https://www.mapbox.com/mapbox-gl-js/assets/radar.gif"]; + NSURL *imageURL = [NSURL URLWithString:@"https://maplibre.org/maplibre-gl-js-docs/assets/radar.gif"]; MGLCoordinateQuad quad = { {46.437, -80.425}, {37.936, -80.425}, {37.936, -71.516},