Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see map in iOS #350

Open
NerPit opened this issue Oct 10, 2018 · 2 comments
Open

Can't see map in iOS #350

NerPit opened this issue Oct 10, 2018 · 2 comments

Comments

@NerPit
Copy link

NerPit commented Oct 10, 2018

Hi, i'm using TK.CustomMap in a cross-platform project.
In Android works fine but in iOS i can't see the map.
In y appDelegate i have this code:
global::Xamarin.Forms.Forms.Init();
Forms.Init();
FormsMaps.Init();
Xamarin.FormsMaps.Init();
TKCustomMapRenderer.InitMapRenderer();
NativePlacesApi.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);

Missing something?

Itryed also this without succes:
var renderer = new TKCustomMapRenderer();
LoadApplication(new App());
return base.FinishedLaunching(app, options);

@pazhaniapa
Copy link

We had the same issue, please change the map layout options and see.

myMapView.HorizontalOptions = LayoutOptions.FillAndExpand;
myMapView.VerticalOptions = LayoutOptions.FillAndExpand;

@matanist
Copy link

matanist commented Feb 2, 2019

I have same problem. I'm also wondering where iOS is google map key. Does it not use google map infrastructure? He didn't write a book for appdelegete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants