Catalog npm
PACKAGE EXPLORERView in registry

279map-core

npm

the core of 279map frontend

Versions collected333
Direct dependencies58From release 0.60.0
Last observed20 Oct, 19:06 UTC

README

Current package documentation

279map-core

This is used in 279map. 279map-core connects to 279map server and provides basic features of 279map. if you want to make originai UI map, you can use 279map-core.

flowchart LR
	subgraph frontend
		subgraph 279map-frontend
			279map-core
		end
	end

	subgraph backend
		db[("279map-db")]
		279map-backend-main

		279map-backend-main <--> odba["279map-backend-odba"]
		odba-."use".->279map-backend-common
		279map-backend-main-."use".->279map-backend-common

		db -.read.-> 279map-backend-main
		odba -.insert.-> db
	end
	279map-core <--> 279map-backend-main
	original-db[("Original DB")] <--> odba

	style 279map-core fill:#faa, stroke:#f55

How to use

if you want to make originai UI map, you can use 279map-core.

// you need load jsts cdn
import 'https://unpkg.com/jsts@2.6.1/dist/jsts.min.js';

const props = {
    mapServerHost: 'localhost',
    mapId: 'test',
    iconDefine: [
        {
            id: 'pin',
            imagePath: '/icon/pin.png',
            useMaps: ['Real', 'Virtual'],
        },
        {
            id: 'school',
            imagePath: '/icon/house.png',
            useMaps: ['Virtual'],
        },
    ],
};

return (
	<TsunaguMap {...props}  />
)

→show API References

279map compatiblity

279map-core279map-main-backend
0.5.60.46.5
0.5.50.46.4

Supplement

  • if you use on Next.js, set swcMinify: false in next.config.js. 279map use OpenLayers and it can't run when swcMinify: true.

Copyright (c) 2022 satocheeen.com

Released under the MPL-2.0 license

https://www.mozilla.org/en-US/MPL/2.0/

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 333

Collected releases
VersionPublishedDirect dependenciesOpen version
0.60.0Registry latest8 Dec 202458
0.59.26 Dec 202458
0.59.14 Dec 202458
0.59.04 Dec 202458
0.58.026 Nov 202458
0.57.123 Nov 202458
0.57.023 Nov 202458
0.56.83 Nov 202458
0.56.73 Nov 202458
0.56.625 Oct 202458
0.56.525 Oct 202458
0.56.425 Oct 202458
0.56.324 Oct 202458
0.56.224 Oct 202458
0.56.124 Oct 202458
0.56.024 Oct 202458
0.55.015 Oct 202458
0.54.314 Oct 202458
0.54.227 Sept 202458
0.54.122 Sept 202458

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:05 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ab1bbb1d81a56741e67050482c777418e247c792cf3622165c6a3e6b9e20f490