Skip to content

Commit

Permalink
svlete
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Jun 9, 2024
1 parent da1f759 commit 36b53b7
Show file tree
Hide file tree
Showing 28 changed files with 4,501 additions and 1,027 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: test
on:
push:
branches-ignore: ['main']

jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4

- name: node 20
uses: actions/setup-node@v4
with:
node-version: 20

- name: build
run: |
npm ci && npm run build
- name: check
run: |
npm run check
- name: lint
run: |
npm run lint
- name: Approve PR
if: github.actor == 'renovate[bot]'
run: gh pr review ${{ github.event.pull_request.number }} --approve
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Merge PR
if: github.actor == 'renovate[bot]'
run: gh pr merge ${{ github.event.pull_request.number }} --merge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to Pages

on:
push:
branches: ['main']
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build
run: |
npm ci
npm run build
touch ./build/.nojekyll && echo 'geocoder.bmlt.app' > ./build/CNAME
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.14.0
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
renovate.json
yarn.lock
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 200,
"plugins": ["prettier-plugin-svelte"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
78 changes: 49 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,88 @@
## 1.4.0 (June 8, 2024)
* Convert to JS ES6.

- Convert to JS ES6.

## 1.3.0 (May 31, 2019)
* Initial convert to Google Maps API V3.

- Initial convert to Google Maps API V3.

## 1.2.3 (April 30, 2010)
* Added scroll wheel zoom to the map.

- Added scroll wheel zoom to the map.

## 1.2.2 (March 26, 2010)
* The accuracy bar fix was not sufficient. It needed more.

- The accuracy bar fix was not sufficient. It needed more.

## 1.2.1 (March 11, 2010)
* Fixed a CSS bug in the accuracy bar.

- Fixed a CSS bug in the accuracy bar.

## 1.2 (February 11, 2010)
* Added access to the W3C Geolocator options ("Where Am I Now?")

- Added access to the W3C Geolocator options ("Where Am I Now?")

## 1.1.9 (February 6, 2010)
* Worked on optimizing and improving the appearance of the accuracy bar.

- Worked on optimizing and improving the appearance of the accuracy bar.

## 1.1.8 (February 5, 2010)
* Fixed a CSS bug in that bar.

- Fixed a CSS bug in that bar.

## 1.1.7 (February 5, 2010)
* Added accuracy bar indicator to search results.

- Added accuracy bar indicator to search results.

## 1.1.6 (February 4, 2010)
* Added block delimiters ("##START_" and "##END_") to allow parsing by the WordPress Plugin.

- Added block delimiters ("##START*" and "##END*") to allow parsing by the WordPress Plugin.

## 1.1.5 (February 1, 2010)
* Changed the IDs, so this can be more easily inserted into other pages or CMS.

- Changed the IDs, so this can be more easily inserted into other pages or CMS.

## 1.1.4 (February 1, 2010)
* Expanded the label fields, as the text would overflow when increased by one step.

- Expanded the label fields, as the text would overflow when increased by one step.

## 1.1.3 (January 31, 2010)
* Moved the items around, in order to separate the regular lookup from the reverse lookup.
* Added the ability to hide the long/lat information (which also hides the map).

- Moved the items around, in order to separate the regular lookup from the reverse lookup.
- Added the ability to hide the long/lat information (which also hides the map).

## 1.1.2 (January 31, 2010)
* Hide the multiple placemark nav field if there is only one placemark.
* Added a "Transfer All" link to the transfer column.
* Fixed the styling for the address display field It was a wee bit too wide.

- Hide the multiple placemark nav field if there is only one placemark.
- Added a "Transfer All" link to the transfer column.
- Fixed the styling for the address display field It was a wee bit too wide.

## 1.1.1 (January 29, 2010)
* Made some fixes to make TotalValidator happy.
* Tweaked the colors to mesh with the marker colors better.
* Added links in the debug string, so you can select placemarks from the dump.

- Made some fixes to make TotalValidator happy.
- Tweaked the colors to mesh with the marker colors better.
- Added links in the debug string, so you can select placemarks from the dump.

## 1.1 (January 29, 2010)
* Added an interactive map.

- Added an interactive map.

## 1.0.3 (January 28, 2010)
* Fixed a couple of issues with Chrome.
* Added an initializer function, and now allow the debug info to be hidden as a choice.

- Fixed a couple of issues with Chrome.
- Added an initializer function, and now allow the debug info to be hidden as a choice.

## 1.0.2 (January 28, 2010)
* Added a "focus tracker." This enhances usability by allowing a quick, natural response to hitting the "enter" key.

- Added a "focus tracker." This enhances usability by allowing a quick, natural response to hitting the "enter" key.

## 1.0.1 (January 27, 2010)
* Moved the debug display into the main wrapper.
* The debug info is now shown or hidden by a checkbox.
* Segregated the display of the debug info slightly to enhance readability.
* Improved the code comments.

- Moved the debug display into the main wrapper.
- The debug info is now shown or hidden by a checkbox.
- Segregated the display of the debug info slightly to enhance readability.
- Improved the code comments.

## 1.0 (January 27, 2010)
* Initial release.

- Initial release.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# geocoder

Google Maps JS Geocoder

GOOGLE MAPS GEOCODER TOOL.
Expand All @@ -12,7 +13,7 @@ It has two boxes:
You enter the address into these fields, and the string below them shows how the address is being "built."
When you submit the form, a Google Geocode is done, using the "built" address. You can also enter a long/lat pair,
and do a reverse geocode.

Geocode Response Display
This is on the right side, and displays the result of the lookup. It displays them as simple <div> elements.
Between the two forms is a column of links that allows you to copy data from the response to the corresponding
Expand Down
Loading

0 comments on commit 36b53b7

Please sign in to comment.