Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Limit Viewport#8622

Merged
tobrun merged 1 commit into
masterfrom
android-map-latlngbounds
Apr 13, 2017
Merged

Limit Viewport#8622
tobrun merged 1 commit into
masterfrom
android-map-latlngbounds

Conversation

@tobrun
Copy link
Copy Markdown
Member

@tobrun tobrun commented Apr 3, 2017

Android binding integration of #8583.

ezgif com-video-to-gif 13

closes #3602

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Apr 3, 2017
@tobrun tobrun added this to the android-v5.1.0 milestone Apr 3, 2017
@tobrun tobrun requested a review from ivovandongen April 3, 2017 12:38
@tobrun tobrun force-pushed the android-map-latlngbounds branch from 37344dc to 82ce572 Compare April 3, 2017 12:40
@tobrun tobrun self-assigned this Apr 3, 2017
Copy link
Copy Markdown
Contributor

@ivovandongen ivovandongen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes, looks good otherwise!

}

void NativeMapView::setLatLngBounds(jni::JNIEnv& env, jni::Object<mbgl::android::LatLngBounds> jBounds) {
if(jBounds==NULL){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: some spaces

void NativeMapView::setLatLngBounds(jni::JNIEnv& env, jni::Object<mbgl::android::LatLngBounds> jBounds) {
if(jBounds==NULL){
map->setLatLngBounds(mbgl::LatLngBounds::world());
}else{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more spaces


void setStyleJson(jni::JNIEnv&, jni::String);

void setLatLngBounds(jni::JNIEnv& env, jni::Object<mbgl::android::LatLngBounds>);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, remove env

@tobrun tobrun force-pushed the android-map-latlngbounds branch 3 times, most recently from e0442f9 to 8061a59 Compare April 13, 2017 11:43
@tobrun
Copy link
Copy Markdown
Member Author

tobrun commented Apr 13, 2017

#8583 landed, ready for final review @ivovandongen?

Copy link
Copy Markdown
Contributor

@ivovandongen ivovandongen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tobrun tobrun force-pushed the android-map-latlngbounds branch from 8061a59 to 4941aa9 Compare April 13, 2017 13:25
@tobrun tobrun merged commit 21f54cc into master Apr 13, 2017
@tobrun tobrun deleted the android-map-latlngbounds branch April 13, 2017 14:06
@tobrun tobrun mentioned this pull request May 2, 2017
12 tasks
@tobrun tobrun mentioned this pull request Jun 9, 2017
12 tasks
@tobrun tobrun mentioned this pull request Jun 21, 2017
11 tasks
@tobrun tobrun mentioned this pull request Jun 30, 2017
16 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit Viewport

2 participants