Maps Platform
Product updates, customer stories, and tips and tricks on Google Maps Platform
Advanced marker animations and more with Google Maps SDK for iOS 1.13
Monday, April 4, 2016
Last week we launched the Google Maps SDK for iOS 1.13. This release includes the ability to create advanced marker animations, the option of auto refreshing info windows, the ability to set the frame rate up to 60 frames per second, further custom styling for the Place Autocomplete widget, and a new
mapViewSnapshotReady
event.
Advanced marker animations and auto-refreshing of info windows
Ever wanted to have rotating markers or use a grow and glow marker animation?
With the Google Maps SDK for iOS 1.13, we have introduced an
iconView
property for marker icons, giving you the animation capabilities of a UIView. Because
iconView
accepts a UIView, you can have a hierarchy of standard UI controls defining your markers, each view having the standard set of animation capabilities. The
iconView
property supports animation of all animatable properties of UIView except
frame
and
center
. Take a look at our
documentation
to get started.
We've also included the option to auto-refresh info windows, which is particularly useful if you want to use a static web page as info window content but it hasn’t downloaded by the time you create your info window. By using the new marker property
tracksInfoWindowChanges
, you can have the
info window automatically refresh
when the static web page loads.
Frame rate up to 60 fps with graceful fallback
You can now take advantage of a new enum,
GMSFrameRate
, which has three options:
kGMSFrameRatePowerSave
(15fps),
kGMSFrameRateConservative
(30fps), and the default
kGMSFrameRateMaximum
(60fps with 30fps fallback). In order to protect devices that don't handle 60fps well, we do a run-time device model check and the
preferredFrameRate
is silently downgraded to 30fps when necessary on older devices.
Autocomplete widget styling
In Google Maps SDK for iOS 1.12 we announced the
iOS Places autocomplete widget
. With the release of iOS 1.13, you can now add further custom styling to your autocomplete widget to create a consistent visual identity.
To set widget UI element colors:
Use the native iOS
Appearance Proxy
system when possible to globally style UI controls. The Places autocomplete widget will honor these settings.
Use the new SDK methods on widget classes to set colors which the Appearance Proxy system doesn't support.
Our
documentation
highlights which elements can be customized using the Appearance Proxy, and which can be customized by using the SDK methods.
mapViewSnapshotReady event
We heard your requests to provide a clear signal that all tiles have been rendered and the map has finished loading. In
Google Maps SDK for iOS 1.11
we included start/finish events for map tile and Street View panorama rendering.
In this release, we've added a
mapViewSnapshotReady
event that indicates that the map is stable (tiles loaded, labels rendered, camera idle) and overlay objects have been rendered. This is useful if you want to do a transition away from the map, but need a static image of the map in case you want to transition back. The
mapViewSnapshotReady
event will ensure that the static image will truly represent the state of the map.
A big thank you to iOS developers for using the Google Maps SDK and submitting feedback via the
issue tracker
!
Take a look at our
release notes
and update to
Google Maps SDK for iOS 1.13
today.
Posted by Megan Boundey, Product Manager, Google Maps Mobile APIs
Labels
5 Great Maps
ads
advertising
africa
Andorra
Android
App Engine
art
Australia
Autocomplete
Boston
brazil
Bruce Springsteen
Bulgaria
Campus Map
Chrome
City 24/7
Code for America
COM API
Computerlogy
creative advertising campaigns
Custom Map Types
design
developer
Developer Challenge
Developer stories
Directions API
Drawing Tools
Driving Directions
Earth
Earth API
Elevation API
environment
epungo
Estonia
Europe
Fab Friday
flash
Fusion Tables
GAE
games
GDAL
Gears
geo
Geodesic Lines
Germany
Gibraltar
GIS
Global Economy
gme
Google Analytics
Google App Engine
Google Earth
Google Earth API
Google I/O
Google Maps
Google Maps API
Google Maps Engine
Google Places API
Google Places API Developer Challenge
Google Street View API
government
Hackathon
Hamburg
heat map
heatmap
hiking
Hungary
iOS
JavaScript
jQuery
kenya
KML
Latitude API
Latvia
launch
Lithuania
local search
London
Mac
Map of the Week
maps
Maps API
Maps API for Flash
Maps Data API
Maps Zen
Marker Clusterer
Marketing
Mars
meetup
mobile
moca
modern art
More Than a Map
Morethanamap
Movies
Neighborhoods
New York City
Office Hours
Olympics
Panoramio
photos
Place Summaries
Places API
Plus
polygons
Premier
public transit
public transit layer
Python
real estate
rock
sao paulo
screencast
SketchUp
Slovakia
Slovenia
South Africa
Spain
Spatial Data Files
Static Maps API
street view
Styled Maps
Sydney
Track
traffic layer
Transportation
Tripline
Twitter
UN
United Nations
V3
Vancouver Olympics
visualizations
Volkswagen
VW
web
youtube
Archive
2018
Nov
Jul
Jun
May
Mar
Feb
2017
Nov
Jun
May
Apr
Mar
Feb
Jan
2016
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Feb
2015
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Feed
Follow @GMapsPlatform
Follow
Google Maps Platform Website
Give us feedback in our
Product Forums
.