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

My map is displayed too small #1617

Open
beto-rodriguez opened this issue Oct 1, 2024 Discussed in #1615 · 0 comments
Open

My map is displayed too small #1617

beto-rodriguez opened this issue Oct 1, 2024 Discussed in #1615 · 0 comments

Comments

@beto-rodriguez
Copy link
Owner

Discussed in #1615

Originally posted by SonyLawTop October 1, 2024
Hi, I'm having trouble with a GeoMap I created. The map appears too small, and I would like to know how to apply a "zoom to fit" so that the map fits the screen properly. I have attached both a screenshot and the corresponding JSON file for reference.
jateng.json
image
private void loadGeoMap() { StreamReader sr = new StreamReader(new MemoryStream(Properties.Resources.jateng)); string jsonData = sr.ReadToEnd(); geoMap1.ActiveMap = Maps.GetMapFromStreamReader<SkiaSharpDrawingContext>(new StreamReader(new MemoryStream(Encoding.UTF8.GetBytes(jsonData)))); }

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

No branches or pull requests

1 participant