nativescript-mapbox icon indicating copy to clipboard operation
nativescript-mapbox copied to clipboard

fix padding options viewport android

Open bradmartin opened this issue 6 years ago • 1 comments

Current version appears to always use 25 for padding on setViewPort method on Android.

This adds ternary to check options.padding and default to 25 if not provided.

bradmartin avatar May 15 '19 16:05 bradmartin

Looks good to me 👍

The interface SetViewportOptions already has padding in it so the option should be exposed correctly.

@EddyVerbruggen safe to merge this imo

Codex- avatar Sep 18 '19 22:09 Codex-