GithubHelp home page GithubHelp logo

Play

Deploy with Vercel

At some point during Placemark development, I tried making a free-as-in-beer interface that supported a lot of the things that Placemark could, but for free. The main difference between this and the main application being that Placemark Play wouldn't have a real server component, so it incurred no real storage or server costs for me.

People like free stuff and a lot of people don't want or need Placemark's server storage for maps, so Play got a bit of a following. This subproject is trying to run Play again.

It's not easy, I'll tell you that! Placemark was, for many reasons, a monolithic application, and Play was part of that monolith. So there are challenges to slicing off just a bit of the application.

This directory is basically the application, minus Blitz and the database layer and all of that. It's a real experiment - expect breakage, and hopefully contribute pull requests. I'm happy to try and make Placemark useful to folks, and don't feel bad or bitter about the fate of the company, but realistically if the open source project is to succeed, it'll need contributors as well as users.

Getting started

There are more sophisticated approaches using Docker or Render (see files), but the following simple approach works locally on macOS:

  1. Clone the repository, change to this directory, and install dependencies:
git clone
pnpm install
  1. Obtain a Mapbox public access token (docs) and Geocode Earth token (docs).

  2. Build the package with the tokens from the previous step:

NEXT_PUBLIC_MAPBOX_TOKEN="<your Mapbox public access token>" \
NEXT_PUBLIC_GEOCODE_EARTH_TOKEN="<your Geocode Earth token>" \
pnpm build
  1. Start the server:
npx serve@latest out
  1. Visit http://localhost:3000

If you're planning to run this often or publicly, take care to secure your tokens better by adding URL restrictions to the Mapbox token and setting allowed Referrer Hostnames to the Geocode Earth one, and consider copying and revising the .env.sample file.

Placemark's Projects

betterknown icon betterknown

modern parser & stringifier for WKT, EWKT, and GeoJSON

check-geojson icon check-geojson

a checker for the geojson format. goes beyond a schema, checking semantics and producing character-level warnings.

docs icon docs

placemark documentation

placemark icon placemark

A flexible web-based editor, converter, visualization tool, for geospatial data

polyline icon polyline

encode and decode between polylines and geojson

togeojson icon togeojson

convert KML, TCX, and GPX to GeoJSON, without the fuss

turf-jsts icon turf-jsts

A minimal subset of JSTS features bundled and compiled to ES5

wkx icon wkx

A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.