Skip to content
Integration of Coveo in Google Map
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pages
ressources/AustralianAddresses
sass
src
.gitignore
LICENSE
Procfile
README.md
css.js
karma.conf.js
package-lock.json
package.json
server.js
setup.js
tsconfig.json
tslint.json
webpack-serve.config.js
webpack-serve.filewatcher.plugin.js
webpack-serve.jslib.middleware.js
webpack.config.js
webpack.config.karma.js

README.md

CoveoMap

This is a branch of the Coveo Search-ui-seed a fast starter / seed project to extend the Coveo Javascript Framework

Read our Blog to better understand the full scope of the project.

Visit the live map to have fun with it. (Initial load of the map might take a few seconds)

Requirements

Node JS => 8.0

Google Map API key

Coveo Cloud Organization (with data containing lat/long fields)

Setup

  1. Fork / clone the repository.
  2. npm install at the top of the repository.
  3. Configuration of Coveo Cloud and Google API key
  4. npm run watch at the top of the repository.
  5. Open your browser and and paste in the url

Get Our Data

If you wish to use our data to try to experiment with the map, you can clone our Python Pusher configure the script with your Push source key and execute it to index the data into your Coveo Cloud organization. You can find all the individual JSON file in the ressource folder of this project.

Structure

The code is written in typescript and compiled using webpack

Build task

  • npm run setup will copy the needed ressources (index.html, templates, etc.) in the bin folder.
  • npm run css will build the sass files into a css file in the bin folder.
  • npm run build will run the setup, css task, then compile the typescript code.

Dev

npm run watch will start a webpack dev server. After it finishes, load http://localhost:3000 in a browser, and the index.html page should load.

Then, anytime you hit save in a typescript file, the server will reload your application.

Useful Visual Studio Code Extensions

If you are using Visual Studio Code, you can install the following extensions:

TSLint

Shows inline linter problems in the code based on the tslint.json file. This will ensure that you are consistent with the formatting standards.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.