ocdladefense/appserver-maps

A module for visualizing OCDLA data on maps.

Installs: 8

Dependents: 3

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:wordpress-theme

v1.0 2022-11-26 01:52 UTC

This package is auto-updated.

Last update: 2024-10-26 06:30:04 UTC


README

Module to display and interact with a Google map.

Installation

  • Run npm update --save-dev to update packages and install any development packages.
  • Run npm run build to transpile any JSX to JavaScript.

Next round of work:

For Tuesday

QueryBuilder library

You'll be constructing a new QueryBuilder library and class in the node-query-builder repository. This repository should be cloned into your maps/node_modules/@ocdladefense/ folder. The new QueryBuilder class will have addCondition(), removeCondition() and render() methods. Our existing code should be encapsulated into these methods. QueryBuilder can also issue querychange events using JavaScript's CustomEvent class.

Main.js

Our main JavaScript file will look very different. Main.js will need to import at least one additional identifier from the new QueryBuilder library.

jsdoc

We will begin generating documentation for our Google Maps and Query Builder libraries. Documentation ensures that we understand what our code does and well-written documentation clearly communicates how our code can be used to solve a set of related problems. There are several tools that can generate documentation. We will be focusing on jsdoc. You'll need to install jsdoc first to begin using it. Installation instructions can be found on the jsdoc npm repository page. I recommend using the global installation option.