Point for coordinate Google Maps iOS

GMSMarker *marker = [[GMSMarker alloc] init];
marker.position = CLLocationCoordinate2DMake(48.f, 35.f);
marker.map = mapView;
CGPoint point = [mapView.projection pointForCoordinate:marker.position];

Why point has NaN values?

Printing description of point: (CGPoint) point = (x=NaN, y=NaN)

Answers


What size of map's frame? Is it (0,0,0,0)?


Need Your Help

Creating a delay() function using <thread> (C++)

c++ time

I'm trying to create a delay function in C++, using a "delay(int x)" form factor. Here is the program I am running currently:

align all object files in data/sbss section in linker script

linker embedded ld memory-alignment linker-scripts

EDIT: Solved - the linker script property "SUBALIGN(32)" applied to the static data sections does exactly what I required, forcing each object file linked to be aligned to a 32byte boundary, with p...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.