-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Support for WMS Layer support #2568
Conversation
LGTM (at a first glance) @alvelig 🐽 |
@netmaxt3r I want to use WMSTiles, I referred but it gives errors. |
@netmaxt3r @alvelig @rborn Why this PR still is not merged to master? |
@andrey-shostik lack of time and resources, we could use some help in reviewing and testing the PRs 😉 |
@netmaxt3r <WMSTile
urlTemplate="https://geoserver-url.com/geoserver/clarity/wms?service=WMS&version=1.1.0&request=GetMap&layers=clarity:LC08_L1TP_148023_20190104_20190130_01_T1_Clarity_compressed&styles=&bbox={minX},{minY},{maxX},{maxY}&width={width}&height={height}&srs=EPSG:4326&format=image/png&transparent=true"
zIndex={100}
opacity={0.5}
tileSize={512}
/> Also I have tried to set urlTemplate with static coordinates, and after this it looks so: https://prnt.sc/n8z1rq |
@netmaxt3r Thank you for this PR. I'd like to get this in for testing. Any chance you can resolve the small merge conflict? |
…act-native-maps # Conflicts: # lib/ios/AirMaps.xcodeproj/project.pbxproj
aha seems like we need to support more spec, we need to implement methods for convert spec boundbox to map bound box. Current implementation for ios and for android is only for EPSG:900913. I am not a wms expert but we can do some research and may be figure out bound box computation, which all specs should we support? |
@netmaxt3r Thanks a lot for reply, in my current app we really need support of EPSG:4326. |
@netmaxt3r So could you help in implementation boundbox for EPSG:4326? As I understand we just need to reimplement ios and for android getBoundBox methods? I found the following function for convertation https://gist.github.com/onderaltintas/6649521#file-meters2degress-js can be it helpful? If yes, then how and where it should be used? |
I am working on it , will try to complete in two days |
Any news? :) |
please check #2821 . I don't have much data to test it please provide your feedback |
@netmaxt3r Hello, this is my code https://paste.ofcode.org/3b2KmZ47ks5iYctGxbH4JJ8 |
@andrey-shostik , this is the solution to the issue related to the transparent tile. in AIRGoogleMapWMSTile:
|
@netmaxt3r I cant find WMSTile in version 0.24.2 . How to test this PR. Thank so much |
I also have problems like you because it has not been updated in the release version. |
My tile server requires an authentication header to be added to the request:
Is there any place I can add it in the WMSTile ? |
Does any other open PR do the same thing?
(please answer here)
What issue is this PR fixing?
Add support for WMS Layer from geoserver
https://docs.geoserver.org/latest/en/user/services/wms/reference.html
How did you test this PR?
Tested on iOS simulator and device with Apple Maps and google maps
Android simulator and device samsung galaxy s8