Coder Social home page Coder Social logo

h-code-svg / js-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlemaps/js-samples

1.0 0.0 0.0 42.66 MB

Samples for the Google Maps JavaScript v3 API

Home Page: https://developers.google.com/maps/documentation/javascript/

License: Other

Shell 2.43% JavaScript 30.46% TypeScript 37.09% CSS 0.13% SCSS 10.94% Nunjucks 18.95%

js-samples's Introduction

Test Release GitHub contributors Apache-2.0 Discord

js-samples

Description

Samples for the Google Maps JavaScript API.

The samples can be demoed at the official documentation site.

Development

Build

  1. npm i Install dependencies.
  2. npm run build Build all targets and update dist/ folder.

Test

  1. npm test Test outputs.
  2. (Optional) npm run lint Fix lint issues with npm run format
  3. (Optional) npm run test:playwright:playground:update-snapshots Update snapshots. This uses an custom env var to only to only update screenshots that differ from the previous ones (Playwright only supports none, all, or missing). To update all screenshots, use npm run test:playwright:playground:update-snapshots -- --update-snapshots. It's possible to target a single sample by using -g <sample-name>.

Run

  1. Start a server with all samples using npm start

Staging

For staging samples (not common), use Cloud Source Repositories which are controlled by an access control list.

  1. gcloud auth login
  2. git config --global credential.https://source.developers.google.com.helper gcloud.sh
  3. git remote add google https://source.developers.google.com/p/geo-devrel-javascript-samples/r/js-samples
  4. git push google
  5. git rev-parse --short HEAD or visit the bucket.

Explore

All samples can be explored at https://googlemaps.github.io/js-samples/.

Other resources

Support

These libraries are community supported. We're comfortable enough with the stability and features of the libraries that we want you to build real production applications on it.

If you find a bug, or have a feature suggestion, please log an issue. If you'd like to contribute, please read How to Contribute.

js-samples's People

Contributors

amuramoto avatar brendankenny avatar broady avatar chrisjshull avatar dependabot[bot] avatar domesticmouse avatar googlemaps-bot avatar jeantimex avatar jlivni avatar jonfor avatar jpoehnelt avatar kaskaderc avatar markmcd avatar medzviadziuk avatar miguev avatar nora-soderlund avatar regeter avatar rubioharo avatar saxman avatar semantic-release-bot avatar skaree avatar stephenfarrar avatar stephenmcd avatar wangela avatar willum070 avatar

Stargazers

 avatar

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.