xcode - Area boundary coordinates using Google Maps API for IOS -
sorry, english bad.
is possible area boundary lat/longs draw area polygon using google maps api.
using need draw overlay on mkmapview.
required suggestions.
thanks in advance.
thanks, chaitanya
yes, possible lat/lng using google places api
, google places api ios provides app rich information places, including place's name , address, geographical location specified latitude/longitude coordinates. aside that, can use overlays
layer content on wide portion of map. overlay object object conforms mkoverlay protocol. overlay object data object contains points needed specify shape , size of overlay , location on map. overlays can represent shapes such circles, rectangles, multi-segment lines, , simple or complex polygons. can define own custom overlays represent other shapes.
note:
in ios 7 , os x v10.9 , later, presentation of overlay handled
overlay renderer
object, instance of mkoverlayrenderer class. job of renderer draw overlay’s content onto screen when asked map view. example, if have simple overlay represents bus route, use polyline renderer draw line segments trace route of bus. define custom renderer draws both bus route , icons @ location of each bus stop. when specifying overlays, can add them specific levels of map, allows them rendered above or below other types of map content. prior ios 7, overlays show less dexter datul
dexter datul 1:07 pm today re drawn on onscreen using overlay views, instances of mkoverlayview class.
when configuring map interface, can add overlay objects @ time. map view uses data in each overlay object determine when corresponding overlay view needs appear onscreen. when overlay moves onscreen, map view asks delegate create corresponding overlay renderer.
Comments
Post a Comment