3 ms·
There's a better separation of concerns that makes it easier to customize specific pieces of the project. For example, OpenLayers divides fetching data (Source
by awj 10y ago
There's a better separation of concerns that makes it easier to customize specific pieces of the project.
For example, OpenLayers divides fetching data (Source), parsing data (Format) and interacting with data (Layer) into individual pieces. So it's relatively straightforward to handle a case where someone decided to go invent their own data format without having to subclass half the system and patch it.
For smaller projects leaflet is significantly smaller and simpler, and definitely is the right approach. But if you need to do "a lot" with a mapping system OL3 probably has it built in and supported instead of maybe available as an extension.
- jflowers45 10y agoThanks for the info, much appreciated! As a general aside, I feel like there would be a good audience for a blowout article comparing the top mapping library pros/cons.
- Waterluvian 10y agoThat's a brilliant idea. I wish I had that article years ago. I'd even consider writing it but I've never blogged and feel it would just be a murky mess. I'd happily collaborate though. =)