Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal - Releases · mapbox/mapbox-maps-ios.
Skiptocontent
{{message}}
mapbox
/
mapbox-maps-ios
Public
Notifications
Fork
74
Star
185
Code
Issues
83
Pullrequests
3
Wiki
Security
Insights
More
Code
Issues
Pullrequests
Wiki
Security
Insights
Releases
Tags
mapbox-github-ci-writer-public-1
v10.5.0
592aa78
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.5.0
Latest
Latest
MinimumcompatibleversionofXcode:13.0.0
Changes
General
Addsupportforappextensions.(#1183)
ExposeconveniencepropertiesandmethodstotransformCoordinateBounds.(#1226)
Addaprefixmaps-iostoallLogmessage'scategory.(#1250)
Style
Addsupportforruntimesourceproperties.(#1267)
FixlocalizationcrashoniOS11and12.(#1278)
AddStyle.setLight(_:).(#1234)
Introduceline-trim-offsetpropertyforLineLayer.(#1231)
MoveAPIsforusingglobeprojectionfromMapboxMaptoStyle.setProjection(_:)andStyle.projection,andremovetheirexperimentaldesignation.(#1235)
Annotations
IncreaseannotationtaptargettoconformtoAppleHumanInterfaceGuidelines.(#1283)
Location
Startlocationserviceslazily.(#1262)
MapboxMap
ExposeAPItosetmemorybudgetforMapboxMap.(#1288)
MapboxMap.point(for:CLLocationCoordinate2D)shouldonlybeusedwithvisiblecoordinates.Itnowreturns(-1,-1)ifthecoordinateisnotvisible.(#1195)
AddMapboxMap.coordinateBoundsUnwrappedwhichcorrectlyhandlesscenariosthatcrosstheantimeridianorwraparoundtheglobemorethanonce.(#1241)
CameraAnimations
BasicCameraAnimator.cancel()and.stopAnimation()nowinvokethecompletionblockswithUIViewAnimatingPosition.currentinsteadofcrashingwithafatalErrorwheninvokedpriorto.startAnimation()or.startAnimation(afterDelay:).(#1197)
CameraAnimationsManager.stopAnimations()willnowcancelallanimatorsregardlessoftheirstate.Previously,onlyanimatorswithstate==.activewerecanceled.(#1197)
Fixanimator-relatedleaks.(#1200)
Animatorcompletionhandlersaddedtoalready-completedorcanceledanimatorswillnowbeinvokedasynchronouslyonthemainqueue.(#1305)
Gestures
ImproveAnyTouchGestureRecognizer'sinteractionwithothergesturerecognizers.(#1210)
Increasedecelerationcutoffthresholdfrom20to35topreventcamerachangesafterthepandecelerationanimationstopsvisually.(#1244)
Offline
DeprecateOfflineRegionManager.mergeOfflineDatabase(for:completion).UseOfflineRegionManager.mergeOfflineDatabase(forPath:completion)instead.(#1192)
AddOfflineRegion.getStatus(completion:).(#1239)
Viewport
DeprecateFollowPuckViewportStateOptions.animationDurationwhichwasaworkaroundforthemovingtargetproblem.(#1228)
UpdateDefaultViewportTransitiontosolvethemovingtargetproblem.(#1245)
Dependencies
UpdatetoMapboxCoreMaps10.5.1andMapboxCommon21.3.0.(#1235,#1281,#1310,#1313)
Features✨andimprovements🏁
MapprojectionAPImovedfromMaptoStyle,inordertoallowspecifyingthemapprojectioninthestyle.APIisnolongerexperimental.
Automatictransitionbetweentheglobeandmercatorprojectionupdatedtoappearvisuallymoresubtle.
Updatemapbox-commontov21.3.0.
Avoidrepeatedtileloadingfromnetwork(orrepeatedtiledecompressionwhenthetileisfetchedfromthecachedatabase)andrepeatedvectortiledataallocationandparsingwhenloadingrendertilesreferringtothesamelogicaltile
Switchtouseshadertocalculatethe'line-trim-offset'propertyupdate.
Layerpropertiestransitionsperformanceimprovedifthelayeristransitioningtothesameconstantvalueoriftransitioningfrom/todata-drivenproperty.
Newlinelayerpaintpropertyintroduced:'{"line-trim-offset",[trim-start,trim-end]}',totakethelinetrim-offpercentagerangebasedonthewholelinerange[0.0,1.0].Thepropertywillonlybeeffectivewhen'line-gradient'propertyisset.Thelinepartbetween[trim-start,trim-end]willbemarkedastransparenttomakealinegradientavanishingeffect.Ifeither'trim-start'or'trim-end'offsetisoutofvalidrange,thedefaultrange[0.0,0.0]willbeset.
Globeviewcontrolsrevampedformoreintuitiveinteractionwithtouchcontrols.
OfflineRegion::getStatus()APIaddedtogetthecompletionstatusandthelocalsizeoftheexistinglegacyofflineregions.
Bugfixes🐞
Thelegacyofflineregionobserverinstanceisnotunnecessarilyretainedinsidetheengine.
Fixabugofqueryingrenderedfeatureforcirclelayerwithmap-pitch-alignmentwhenthepitchiszero.
Fixabugwherezoomingwasnotpossiblewithterrainenabledandexaggeration0.
Fixanissuewhereinternalhsla()functionwasconvertedtoaninvalidrgbaexpression.
Fixabugthat'line-trim-offset'calculationdidnotpropertycover'round'or'square'linecapinlineends.
Dispatchedin-flighteventswillnotbedeliveredif'unsubscribe'iscalledbeforeaneventisdelivered.
Fixanissuewheresomeofthevisibletilescouldbeerroneouslyculledduringtransitionbetweenglobeandmercatorprojection.
Fixesissueswherecameraappearsunderterrain,ormapgetsbumpyrepositioningafterexaggerationchange.
DisableterrainrenderingifGPUdoesnotsupportVertexTextureFetch.
Fixedabugthatoccasionallypreventssymbolsfromloading.
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.5.0-rc.1
072225f
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.5.0-rc.1
Pre-release
Pre-release
MinimumcompatibleversionofXcode:13.0.0
Changes
Addsupportforruntimesourceproperties.(#1267)
Startlocationserviceslazily.(#1262)
FixlocalizationcrashoniOS11and12.(#1278)
IncreaseannotationtaptargettoconformtoAppleHumanInterfaceGuidelines.(#1283)
UpdatetoMapboxCoreMaps10.5.0-rc.1andMapboxCommon21.3.0-rc.2.(#1281)
ExposeAPItosetmemorybudgetforMapboxMap.(#1288)
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.3
61ba796
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.3
CompatibleversionofXcode:12.5.1
Changes
UpdatestoMapboxCommon21.2.1tofixanissuewithloadingcontentfromthecache.(#1271)
Fixesanissuewherelocationserviceswerestartedbeforetheywereneeded.(#1262)
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.4.3/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.5.0-beta.1
c60d536
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.5.0-beta.1
Pre-release
Pre-release
Changes
MitigateOfflineRegionManager.mergeOfflineDatabase(for:completion)throwingTypeConversionError.unexpectedTypeonasuccessfullmerge.IntroduceOfflineRegionManager.mergeOfflineDatabase(forPath:completion)asthecorrectwaytomergeofflinedatabase.(#1192)
LimitMapboxMap.point(for:CLLocationCoordinate2D)totheboundsofmapview(#1195)
Addsupportforappextensions.(#1183)
BasicCameraAnimator.cancel()and.stopAnimation()nowinvokethecompletionblockswithUIViewAnimatingPosition.currentinsteadofcrashingwithafatalErrorwheninvokedpriorto.startAnimation()or.startAnimation(afterDelay:).(#1197)
CameraAnimationsManager.stopAnimations()willnowcancelallanimatorsregardlessoftheirstate.Previously,onlyanimatorswithstate==.activewerecanceled.(#1197)
Fixanimator-relatedleaks.(#1200)
ImproveAnyTouchGestureRecognizer'sinteractionwithothergesturerecognizers.(#1210)
ExposeconveniencepropertiesandmethodstotransformCoordinateBounds.(1226)
Updateannotationexamples.(#1215)
AddStyle.setLight(_:)tosetlightontoastyle.UpdateBuildingExtrusionsExamplewithanexampletosetalightsourceonthestyle.(#1234)
RemoveFollowPuckViewportStateOptions.animationDuration,aworkaroundforthemovingtargetproblem.(#1228)
DeprecateFollowPuckViewportStateOptions.animationDuration,aworkaroundforthemovingtargetproblem.(#1228)
AddmapviewexamplewithdebugOptions.(#1225)
Introduceline-trim-offsetpropertyforLineLayer.(#1231)
AddMapboxMap.coordinateBoundsUnwrapped.(#1241)
UpdateDefaultViewportTransitiontosolvethemovingtargetproblem.(#1245)
Increasedecelerationcutoffthresholdfrom20to35topreventcamerachanges
afteranimationstops.(#1244)
APIforusingglobeprojectionhasbeenmovedtoStyle.setProjection(_:)andStyle.projectionandisnolongerexperimental.(#1235)
AddOfflineRegion.getStatus(completion:).(#1239)
Addaprefixmaps-iostoallLogmessage'scategory.(#1250)
Dependencies
UpdatetoMapboxCoreMaps10.5.0-beta.1andMapboxCommon21.3.0-beta.2.(#1235)
Breakingchanges⚠️
MapprojectionAPImovedfromMaptoStyle,inordertoallowspecifyingthemapprojectioninthestyle
Automatictransitionbetweentheglobeandmercatorprojectionupdatedtoappearvisuallymoresubtle.
Features✨andimprovements🏁
Maprendercalloptimizedfurtherbyfurtherreducingcomputationaloverhead.
Layerpropertiestransitionsperformanceimprovedifthelayeristransitioningtothesameconstantvalueoriftransitioningfrom/todata-drivenproperty.
Newlinelayerpaintpropertyintroduced:'{"line-trim-offset",[trim-start,trim-end]}',totakethelinetrim-offpercentagerangebasedonthewholelinerange[0.0,1.0].Thepropertywillonlybeeffectivewhen'line-gradient'propertyisset.Thelinepartbetween[trim-start,trim-end]willbemarkedastransparenttomakealinegradientavanishingeffect.Ifeither'trim-start'or'trim-end'offsetisoutofvalidrange,thedefaultrange[0.0,0.0]willbeset.
Globeviewcontrolsrevampedformoreintuitiveinteractionwithtouchcontrols.
OfflineRegion::getStatus()APIaddedtogetthecompletionstatusandthelocalsizeoftheexistinglegacyofflineregions.
Bugfixes🐞
Dispatchedin-flighteventswillnotbedeliveredif'unsubscribe'iscalledbeforeaneventisdelivered.
Transitionsbetweenglobeandmercatorprojectiondonotculltilesincorrectlyanymore.
Terrain-relatedcameraissuesfixed,previouslymakingitappearunderterrain,orincorrectlyrepositionedafterexaggerationchange.
TerrainrenderingdisabledonGPUsnotsupportingVertexTextureFetch.
Fixedabugthatoccasionallypreventedsymbolsfromloading.
Dependencyrequirements:
CompatibleversionofXcode:13.0.0
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.2
8e4c5ee
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.2
Changes
AddOfflineRegion.getStatus(completion:).(#1239)
UpdatetoMapboxCoreMaps10.4.2(#1256)
Bugfixes🐞
Re-introducetheAPItogetthestatusoftheexistingofflineregions,sothattheclientscangetthecompletionstatusandthelocalsizeoftheexistinglegacyofflineregions.(#3192)
Fixesabugthatoccasionallypreventssymbolsfromloading(#3191)
Dependencyrequirements:
CompatibleversionofMapboxCoreMaps:10.4.2
CompatibleversionofMapboxCommon:21.2.0
CompatibleversionofXcode:12.5.1
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.1
635fdd1
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.1
Dependencyrequirements:
CompatibleversionofMapboxCoreMaps:10.4.1
CompatibleversionofMapboxCommon:21.2.0
CompatibleversionofXcode:12.5.1
Changes
Reverttousingmetalviewdrawnotifications(setNeedsDisplay()insteadofdraw()).(#1216)
Fixes#1212
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.4.1/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.0
513c6a8
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.0
Changes
UpdatetoMapboxCoreMaps10.4.1andMapboxCommon21.2.0.(#1190)
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.4.0/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.0-rc.1
8cf3f93
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.0-rc.1
Pre-release
Pre-release
CompatibleversionofXcode:12.5.1
ChangesSincev10.4.0-beta.1
MapView
Enableexplicitdrawingbehaviorformetalview(calldraw()explicitly
insteadofsetNeedsDisplaywhenview'scontentneedtoberedrawn).(#1157)
Gestures
Restorecancellationofanimationsonsingletap.(#1166)
Thesingletapgesturedependsonthedoubletaptozoomingesture's
failure.Toavoidregisteringasingletapifthere'ssubsequentlyadouble
tap,whenthefirsttapisdetected,theSDKwaitstoseeiftherewillbe
asecondtapbeforedecidingwhichgesturewasperformed.Thismeansthere
willbeadelaybeforetheanimationsarecanceled.Ifthatdelayis
unacceptable,disablethedoubletaptozoomingesture,toallowthe
singletapgesturetorecognizeimmediately.
Location
Fixissuewhereinvalidlocationscouldbeemittedwhensettingacustom
locationprovider.(#1172)
FixcrashinPuck2Dwhenlocationaccuracyauthorizationisreduced.(#1173)
Attribution
Fixanissuewhereplaintextsourceattributionwasnotpopulatedin
attributiondialog.(#1163)
CameraAnimations
BasicCameraAnimator.ownerisnowpublic.(#1181)
Theanimationownerforease-toandfly-toanimationsisnow
"com.mapbox.maps.cameraAnimationsManager".(#1181)
Dependencies
UpdatetoMapboxCoreMaps10.4.0-rc.1andMapboxCommon21.2.0-rc.1.(#1158)
FixedtoosmallboundsreturnedbyMap::latLngBoundsZoomForCamerawith
tiltedviewandMap::latLngBoundsZoomForCameraUnwrappedwhenviewing
>360°longitude.
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.4.0-rc.1/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.4.0-beta.1
dbe7f84
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.4.0-beta.1
Pre-release
Pre-release
MinimumSupportedVersions
iOS:11.0
Xcode:12.5.1
Swift:5.4
MapView
[BugFix]Preventrenderinginbackgroundbypausing/resumingdisplaylinkinresponsetoapplicationorscenelifecycleevents.(#1086)
Viewport
[BugFix]SynctheupdatinganimationsoftheFollowPuckViewportStateand2D/3Dlocationpucks.Thischangealsobringssmoothanimationto3Dpucks.(#1090)
Location
[Feature]AddLocationOptions.puckBearingEnabledtocontrolwhetherthepuckrotatestotrackthebearingsource.(#1107)
Gestures
[Feature]AddGestureOptions.pinchPanEnabledand.pinchZoomEnabled.(#1092)
[BugFix]Fixissuewheresingletapanddoubletaptozoomingesturescouldrecognizesimultaneously.(#1113)
[BugFix]Fixcamerachangeeventsbeingfiredaftermaphasstoppedmoving.(#1118)
[Feature]AddGestureOptions.focalPointpropertytoallowrestrictingthepointaboutwhichzoomandrotategesturesareapplied.(#1122)
[BugFix]FixanissuewherepinchgestureemittedsuperfluouscamerachangedeventsandremoveexperimentalGestureOptions.pinchBehaviorpropertythatwaspreviouslyintroducedasanimperfectworkaround.(#1125,#1137)
Style
[Feature]ExposepublicinitializersforLayerInfoandSourceInfosothatthesevaluescanbeconstructedwhenunittesting.(#1144)
ViewAnnotations
[Feature]AddViewAnnotationManager.removeAll()toremoveallviewannotations.
[Feature]IntroduceAPIstoobserveviewannotationframesandvisibility:(#1136)
ViewAnnotationUpdateObserverprotocol
ViewAnnotationManager.addViewAnnotationUpdateObserver(_:)
ViewAnnotationManager.removeViewAnnotationUpdateObserver(_:)
Ornaments
[Feature]ExposedUIViewsforlogo,compass,scalebar,andattributionbuttontoenablepositioningotherviewsrelativetothem.(#1130)
Dependencies
UpdatetoMapboxCoreMaps10.4.0-beta.1andMapboxCommon21.2.0-beta.1.(#1126)
Features✨andimprovements🏁
Improverenderingperformancebycoalescingmapupdateswhenpossible.
AddStyleManager::hasStyleImageAPIthatcheckswhetheranimageisinthestyleornot.
ImproveSnapshotterperformancebyusingalightweightschedulerinsteadofplatformrunloop.
Mapnowwaitsonspritesheetloadingbeforerendering.
Improvemaprenderingperformancebyavoidingcalculationsforallthenon-transitionalstylelayerpaintproperties.
EnableusingoftilepackschemefromTileJSON.
Improvemaprenderingperformancebydecreasingde/allocationsinmapplacementcode.
AvoidstylelayerpropertiestransitioncalculationwhenTransitionOptions::durationissetto0.
EnabletilepacksforDEMterraintiles,itincludesbothOfflineAPIandTileStoreUsageMode::ReadAndUpdateresourceoption.
Rendertileswithpartialcontentwhiletheglyphdependenciesareloading.
CanonicalizeURLsandenableOfflineAPIusageforthe3dtiles/v1tiles.
Bugfixes🐞
Fixscreencoordinatequerieswhenusingzeropitchandhighzoomvalues.
Add.xcframeworkbundlenameforMapboxCoreMaps.
Avoidpossiblecrashatprogramexitcausedbydummytraceraccessedafterthedestruction.
FixcrashforthecasewhenamapeventishandledbyanObserverofadestructedmap.
Fixshimmeringartifactwhenpitchedrastertileswithcompressedtexturesarerendered.
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.4.0-beta.1/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
mapbox-github-ci-writer-public-1
v10.3.0
47f9d2d
ThiscommitwascreatedonGitHub.comandsignedwithGitHub’sverifiedsignature.
GPGkeyID:4AEE18F83AFDEB23
Learnaboutvigilantmode.
Compare
Couldnotloadtags
Nothingtoshow
{{refName}}
default
v10.3.0
Dependencyrequirements:
CompatibleversionofMapboxCoreMaps:v10.3.2
CompatibleversionofMapboxCommon:v21.1.0
CompatibleversionofXcode:12.5.1
Viewport
AddedViewportAPIatMapView.viewport(#996,#1040,#1050,#1058)
SyncthemapcamerawiththelocationpuckusingFollowPuckViewportState.
ShowanoverviewofageometryusingOverviewViewportState.
AnimateatransitionbetweenfollowingthepuckandshowinganoverviewusingDefaultViewportTransistion.
BuildcustomstatesandtransitionsbyimplementingViewportStateandViewportTransition.
Tosetthecurrentstate,useViewport.transition(to:transition:completion:).
ThisAPIisexperimental,whichmeansthatwhileitisproduction-ready,wereservetherighttomakebreaking
APIchangeswithoutamajorversionbump.ToaccesstheAPI,importtheSDKwith@_spi(Experimental)importMapboxMaps.
Seethedocsforfulldetails:https://docs.mapbox.com/ios/maps/api/10.3.0/Viewport.html
KnownIssues
FollowPuckViewportStateandPuckType.puck2D()usedifferentanimationtiming.Thefix(#1090)willbeshippedinafuturereleaseafterfurthertesting.
MapboxMap
ExposedtriggerRepaint()toallowmanualmaprepainting.(#964)
Style
ExposedTransitionOptionstoallowcontroloversymbolfadeduration.(#902)
AddedStyle.removeTerrain()toallowremovingterrain.(#918)
Snapshotter
Snapshotterinitializationnowtriggersaturnstileevent.(#908)
Location
AddedstaticmethodPuck2DConfiguration.makeDefault(showBearing:)whichenablescreatinga2Dpuckconfigurationwithabearingindicator.(#980)
Fixedabugwhere2Dpucklocationwasneversetwhenlocationaccuracyauthorizationwasreduced.(#989)
FixedabugwheresettingLocationManager.optionswouldcausetheLocationProvidertobereconfigured.(#992)
AddedPuck2DConfiguration.accuracyRingColorand.accuracyRingBorderColortoenablecustomizingthecolorofthe2Dpuckaccuracyring.(#1057)
Gestures
Removedpitchgesturechangeanglerequirementstoavoidmapfreezingduringgesture.(#1089)
Ornaments
Fixedcompassbuttonregressionintroducedin10.3.0-rc.1.(#1083)
LegacyOffline
AddednewAPIsforOfflineRegion.YoucannowsetMetadata,invalidateorpurgetheregion.(#1026,#1060)
MapboxCoreMaps
UpdatedtoMapboxCoreMaps10.3.2andMapboxCommon21.1.0.(#1078,#1091,#1104)
Features✨andimprovements🏁
Updatemapbox-commontov21.1.0
Improveperformanceforsymbollayoutrenderingincontinuousmode
IntroducemetadatasetterAPIforthelegacyofflineregion
Optimizezoomingonterrainandglobe
Thinoutrepeatedlinelabelsatoverscaledtilesinordertoavoidexcessivememoryusage
Tilecacherefrainsfromevictionofthetilesthatareparentsforthemostrecentlyaddedtile
RemoveexperimentaldesignationfrompersistentlayerAPIs
Avoidre-creationoftheavailablespritesset
Thetilecacheclearstilesgraphicsdatabeforeperformingthetileseviction,whenbudgetissetinmegabytes
Deletegeometrytileslayoutresultonworkerthread
Whenmemorybudgetinmegabytesisset,enginewilltrytouseETC1compressionforrasterlayertodecreaseGPUmemoryconsumption
Implementsdepthsortingpermeshandbettertransparencyformodels
ImplementMetalMSAAsupport
Removeextradeallocationsfromrendertreedestructor
Minoroptimizationrelatedtoglobemeshconstruction
Fillextrusionlayersupportforglobeview
Limitthedelayednetworkrequestmaximumtimeintheschedulertaskqueue,andthusavoidexcessivememoryusage
Linegradientispre-calculatedonworkerthreadduringbucketcreation.Linegradientgetsupdatedonlyiftheline-gradientlayerpropertyvalueismodified
Bugfixes🐞
Includegeometrydatabuffersizewhencalculatingtotalsizeofatile
FixcrashatapplicationexitoniOSplatform
Fixscreencoordinatequerieswhenusingzeropitchandhighzoomvalues
vector-tileupdatedtov1.0.4,fixinganendofbufferexception
Reducesdragsensitivityaroundandabovehorizon
ErasecorrupttilesfromTileStore
Addperspectivecorrectionfornon-rectangularimages
Fixrenderingartifactswhencompressedandun-compresedrastertilesarerendered
FixgloberenderingartifactondarwinplatformwhenMSAAisenabled
FixacrashwhenusingacustomlayeronMetalwithMSAAdisabled
Fixedterrainoccluding3Dlocationindicator
Avoidcreatingnewsymbolinstancesifthefeatureisoutsideoftileboundariestoavoidincorrectsymbolcrosstileindexing.Inthemeanwhile,disabledrapingforthislayerotherwisesymbolwillonlybeshownonthetilethathasthesymbolinstancecreated.
FixlocationindicatorlayerrenderingwhenSwiftShaderisused
Fixfillextrusiondisappearanceafterrendertilesarereturnedfromthetilecachewhenthesourcememorybudgetissetinmegabytes
Avoidpossiblecrashatprogramexitcausedbydummytraceraccessedafterdestruction
FixcrashforthecasewhenamapeventishandledbyanObserverofadestructedmap
Delivereventtoobservablesubscribersevenifobservableisalreadydestructed
Directdownload
Linktodownloadbinaries(appendyourownMapboxaccesstokenscopedwithDOWNLOADS:READ):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.3.0/MapboxMaps.zip?access_token=
Assets
2
Sourcecode
(zip)
Sourcecode
(tar.gz)
Previous12345Next
PreviousNext
Youcan’tperformthatactionatthistime.
Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession.
Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.