Comments (3)
Yes, you can create your own OverlayRenderer if you like. What kind of shapes do you want to show?
from jxmapviewer2.
I want to use the shape file (.shp) in the following zipped folder:
I wasn't able to find any examples of rendering shape files on the github? Would it be possible to see one? Thanks for the quick response
from jxmapviewer2.
Sorry for the delay, it should be possible to render it as an overlay, yes. There are a few examples in the project on how to render on top of the map. To convert the Shape file into something that Swing can render, you need to parse it. Maybe you can find something useful here: https://stackoverflow.com/questions/2044876/does-anyone-know-of-a-library-in-java-that-can-parse-esri-shapefiles
from jxmapviewer2.
Related Issues (20)
- Cache Input Stream can leak resources HOT 1
- Add Automatic-Module-Name clause to jar manifest HOT 6
- Showing Pin on Map HOT 1
- Google Maps is not working with jxmapviewer2 HOT 2
- Improvement suggestion HOT 4
- Is it possible to update routes? HOT 3
- Divided by zero ArithmeticException in AbstractTileFactory (v2.6) HOT 2
- Strange behavior in overlay painting from zoom 2 down to 0 HOT 5
- JavaFX compatibility HOT 2
- AbstractTileFactory#tileMap causing OutOfMemory after long usage HOT 3
- JxMapViewer.zoomToBestFit(fitPoints, 0.4) throws exception HOT 4
- Feature: decorate tile urls with query params HOT 1
- Feature: Modern httpClient HOT 7
- OOM and cache HOT 2
- Help Needed: Using MouseEvents to create new GeoPoint HOT 5
- Newest release does not support Java Modules HOT 3
- Using a WMS with other CRS/SRS (other then WGS84 EPSG:4326): HOT 2
- Possible race condition in FileBasedLocalCache HOT 1
- New release? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jxmapviewer2.