Tiler iOS app

61 views
Skip to first unread message

Filipe Marques

unread,
Apr 1, 2015, 5:33:34 PM4/1/15
to opentree...@googlegroups.com
Guys,

I noticed that the iOS app has no tree dots and I started looking for it, I think it has something to do with the tiler host not being setup by default. What I mean by this is that the Implementation.plist has no reference of it at all, even though it is used by the app. However, there's only configuration for the host url, there's no settings for the username or the password. Is this right?

Thanks for any input!

Justin Walgran

unread,
Apr 1, 2015, 6:41:05 PM4/1/15
to opentree...@googlegroups.com
I have included a screenshot of an example Implementation.plist. The iOS app expects the tilerurl setting to be a URL without the /tile suffix. In our deployments we have Nginx proxying https://hostname.org/tile to the tile server.




--
You received this message because you are subscribed to the Google Groups "opentreemap-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentreemap-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Filipe Marques

unread,
Apr 2, 2015, 8:52:36 AM4/2/15
to opentree...@googlegroups.com
Amazing, Justin! Thank you!
So, should I open a issue ticket on github? the implementation.plist on the iOS skin is a bit different as you can see Implementation.plist

Filipe Marques

unread,
Apr 2, 2015, 9:56:32 AM4/2/15
to opentree...@googlegroups.com
Justin,

I'm running localhost so my url looks like this http://localhost/tile/eccbc87e4b5ce2fe28308fd9f2a7baf3/database/otm/table/treemap_mapfeature/18/97119/148711.png?instance_id=1&scale=2
At first I though it was some port issue, but the port 5432 is used by redis, am I missing something here?

Filipe Marques

unread,
Apr 2, 2015, 10:26:19 AM4/2/15
to opentree...@googlegroups.com
Ok, my bad, if I'm running on localhost it should be the same address from the opentreemap web site. Sorry about that.
Just for the clarity of it all, even though I get the orange dots representing trees there's this error: "ImageIO: CGImageSourceCreateWithData data parameter is nil" on XCode console. I did a little research and it appears to be some iOS 8 bug related. If you think I should open an issue ticket on this one just let me now.

Thanks again and I'm sorry for any inconvenience.

Justin Walgran

unread,
Apr 2, 2015, 4:03:52 PM4/2/15
to opentree...@googlegroups.com
This commit from Mapbox claims to fix the "log spew" issue.


It would be helpful if you did create an issue with your findings. Even though it appears those errors are innocuous, it does junk up the console.

Thanks.
Reply all
Reply to author
Forward
0 new messages