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.54.017 Sept 202458
0.53.312 Sept 202458
0.53.210 Sept 202458
0.53.18 Sept 202458
0.53.08 Sept 202458
0.52.06 Sept 202458
0.51.185 Sept 202458
0.51.172 Sept 202458
0.51.1031 Aug 202458
0.51.931 Aug 202458
0.51.831 Aug 202458
0.51.731 Aug 202458
0.51.631 Aug 202458
0.51.531 Aug 202458
0.51.430 Aug 202458
0.51.330 Aug 202458
0.51.229 Aug 202458
0.51.129 Aug 202458
0.51.024 Aug 202458
0.50.1423 Aug 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