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

How can I to use a map webservice #56

Open
Peterllan opened this issue Nov 20, 2024 · 5 comments
Open

How can I to use a map webservice #56

Peterllan opened this issue Nov 20, 2024 · 5 comments

Comments

@Peterllan
Copy link

Peterllan commented Nov 20, 2024

I am developing a Blazor server app that must display some points on a map, for this I use the LEAFLETFORBLAZOR REALTIMEMAP control. The map works correctly if I use the maps "OpenStreetMap" or "OpenTopoMap", with the URLs:
"http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" or
"https://tile.opentopomap.org/{z}/{x}/{y}.png".

However, I must display the data on a map obtained from a web map service (WMS) with the following URL: "http://www.ideextremadura.com/CICTEX/EXTREMADURA_BASE_VERSION2?". With this service and with this URL I previously developed a web with javascript and the leaflet.js library that works correctly.

This is the code used but it doesn't work:

new RealTimeMap.BasemapLayer()
{
url = "http://www.ideextremadura.com/CICTEX/EXTREMADURA_BASE_VERSION2?",
attribution = "© CITEX IDE Extremadura'",
title = "IDE Extremadura",
detectRetina = true
}

@ichim
Copy link
Owner

ichim commented Nov 21, 2024

Hello sir,

At this moment RealTimeMap cannot display wms services (tilelayers). At the moment, RTM can only use image services (tilelayers/png). Sorry

@Peterllan
Copy link
Author

Thank you for your reply.

Is there a plan to add the possibility of working with map web services (WMS) in future versions?

@ichim
Copy link
Owner

ichim commented Nov 21, 2024

Hello again,

Yes, it's in the plan!

@Peterllan
Copy link
Author

Maps from a WMS could be displayed with the Map control?

@ichim
Copy link
Owner

ichim commented Nov 22, 2024

No sir, sorry.

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

2 participants