TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OpenLayers

316 pointsby devicetray0over 5 years ago

14 comments

mournerover 5 years ago
Leaflet author here! Just wanted to note that if you haven&#x27;t looked into OpenLayers in a few years, you absolutely should — it&#x27;s astonishing how much it progressed: from something that I was so frustrated with that it prompted me to write Leaflet in the first place (11 years ago) to a modern, fast, well-engineered and lovingly maintained library.<p>It&#x27;s especially great when you&#x27;re doing complex GIS stuff and need a ton of features and formats supported out of the box. As for other libraries, I&#x27;d recommend Leaflet for simple maps, and Mapbox GL for rich, highly interactive apps that benefit from vector rendering tech (I&#x27;m biased since I contributed to both), but it&#x27;s great to have OpenLayers in the mix — there&#x27;s a library for anyone&#x27;s needs, cross-inspiration moves all three forward, and the mapping software landscape in general is greater than it has ever been.
评论 #21756354 未加载
评论 #21757091 未加载
评论 #21757070 未加载
评论 #21758366 未加载
评论 #21756262 未加载
ricketteover 5 years ago
When compared to the other two major OSS libraries I would say:<p>- Leaflet. Widely known, suitable for mostly simple use cases.<p>- Mapbox GL JS. State of the art library based on WebGL. Mapbox started off with a fork&#x2F;extension of Leaflet called Mapbox.js but over time has moved on and created the Mapbox GL JS library from the ground up. Very fast, but requires a GPU due to WebGL.<p>- OpenLayers. Often used by more professional users. Probably the most features complete library. Also usable without a GPU.
评论 #21755933 未加载
评论 #21759667 未加载
atombenderover 5 years ago
Speaking of, does anyone know a cheaper service than Mapbox and Google Maps for raster tiles?<p>I have an app that uses Leaflet for rendering, and Mapbox purely for its raster tiles (both plain maps and satellite required). Mapbox has been cheap for us, at about $50&#x2F;mo. But with the new pricing structure taking effect in December, it&#x27;s now about $450&#x2F;mo. I believe Google and Bing are both more expensive than that.<p>I&#x27;ve been considering setting up OSM, but I&#x27;d like to avoid having to run and maintain it.
评论 #21755107 未加载
评论 #21755407 未加载
评论 #21758044 未加载
评论 #21757102 未加载
评论 #21756462 未加载
评论 #21756530 未加载
评论 #21756316 未加载
评论 #21756625 未加载
评论 #21756470 未加载
评论 #21756469 未加载
评论 #21755943 未加载
andrewshaduraover 5 years ago
OpenLayers was one of the first open source libraries of this kind; sadly it&#x27;s lost some development momentum back when everyone was using it in 2008 or so, and nearly everyone switched to (then faster) alternatives like Leaflet.
评论 #21754797 未加载
nkorenover 5 years ago
We use OpenLayers extensively in my company (<a href="https:&#x2F;&#x2F;www.podaris.com" rel="nofollow">https:&#x2F;&#x2F;www.podaris.com</a>), and we push it really, <i>really</i> hard. It&#x27;s the basis for a parametric CAD system, a bunch of GIS tools, and most recently, transport micro-simulation. It had a steep learning curve, but has held up remarkably well over the years, with remarkably few instances where it&#x27;s been the bottleneck.<p>Definitely recommended!
malikerover 5 years ago
We used openLayers, ran in to performance issues, switched to Leaflet, and couldn&#x27;t be happier. Just our experience, for what it&#x27;s worth.
评论 #21755674 未加载
评论 #21755617 未加载
评论 #21755872 未加载
pkalinowskiover 5 years ago
Some time ago I checked out three libraries for my amateur small navigation app:<p>Leaflet - it doesn&#x27;t have map rotation, so it was a dealbraker for me. People on Stack Overflow were talking about ugly hacks, I didn&#x27;t want to go into the rabbit hole.<p>Mapbox - I found docs little clunky (again, I&#x27;m amateur so it may be the reason I didn&#x27;t get it) and couldn&#x27;t really work out what&#x27;s paid and what&#x27;s free. Didn&#x27;t spend a lot of time on them, though.<p>OpenLayers - I think it&#x27;s the best one feature-wise, but documentation is rather for more advanced developers. I struggled a lot before finally grasping how it works and still, it&#x27;s not easy. Getting started guide like Vue.js has would be immensely helpful.<p>I ended up with OpenLayers and I&#x27;m pretty satisfied for now, despite needing fairly long time to actually implement features properly.
ghgrover 5 years ago
What a coincidence! I discovered OpenLayers yesterday when looking for a way to display a 1 Terapixel image. I got it up and running in a few hours. Kudos to the developers!
评论 #21756738 未加载
mzurover 5 years ago
I like OpenLayers. We built a rather complex image annotation tool around it and OpenLayers worked well with all the features we added over the years, recently even a full-blown video annotation tool. The community is nice and active, too. Best of all: It&#x27;s still compatible with our old school way of JS development. The only thing I&#x27;m missing is the API documentation of older versions which they seem to have dropped at some point.
moonfleetover 5 years ago
We use OpenLayers at our company. We are building an interactive map with a bunch of tools for measuring distance, calculating routes, drawing features, displaying diagrams right on top of the map, and OpenLayers is doing wonders for us. It has a steep learning curve but once you grasp the fundamentals, you can figure out how to do all kinds of magic tricks with it.
评论 #21760933 未加载
herogreenover 5 years ago
What is the advantage of having the documentation CC-BY 3.0 licensed ? In cases where documentation is generated from the code it seems more convenient to use the same license for both.
n1vz3rover 5 years ago
I used OpenLayers back in 2008-2011 for mapping-heavy web application. It was of very high quality, and had great API documentation (using DoxyGen, iirc). Taught me some things about pre-modern-craze Javascript programming (i.e. how to correctly implement inheritance in JS)
klsover 5 years ago
just did a port from a custom D3 map solution to OL due to mobile requirements. I can say the OL&#x27;s mobile support is first class.
nickikover 5 years ago
Can I get topological maps without roads and so on with this? Is their hight data?
评论 #21755465 未加载
评论 #21756170 未加载