# Local development with lightship-maps module?

**URL:** <https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085>\
**Category:** Technical Support\
**Tags:** self-hosting, lightship-maps\
**Created:** [July 14, 2024, 10:18pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085 "2024-07-14T22:18:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Kane](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@James\_Kane](https://forum.8thwall.com/u/James_Kane)\
**Post date:** [July 14, 2024, 10:18pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/1 "2024-07-14T22:18:08Z")

</div>

My team has an 8th Wall Pro account. Is it possible to do local development of an 8th Wall project utilizing modules - specifically the lightship-maps module? Our dev team would prefer local environments for long-term maintainability and workflow standardization w/ other projects, and to allow full use of npm ecosystem, etc., but our project is based around Lightship Maps - can this be done?

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [July 15, 2024, 4:44pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/2 "2024-07-15T16:44:50Z")

</div>

Hi @James_Kane yes, the Lightship Maps module is compatible with Self-Hosted projects, check the `Compatibility` section on the [overview page for the module](https://www.8thwall.com/8thwall/modules/lightship-maps)

 ![Screenshot 2024-07-15 at 9.40.21 AM](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/969e3c8eee774939955f29e9811b9d09a7357ea4.png)

Unlike Cloud Editor projects where a module is added inside the editor itself, for self-hosted projects there is a “Modules” icon in the left navigation for your project:

![Screenshot 2024-07-15 at 9.39.30 AM](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/ea376d84867f14ef3726bc148197659f1a52088f.png)

Once you add the module to the self-hosted project in your 8th Wall account, there is a `Copy Code` button that generates the code/tags you’ll need to add into your self-hosted code.

 ![Screenshot 2024-07-15 at 9.42.29 AM](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/67514808b7d970eb13b71a31f2fcd1aaf6d66b60.png)

Note that you can’t actually self-host the module code itself - you are simply pulling it in via external URL (like you would with other third party libraries like Google Analytics, etc)

See documentation for [Importing Modules into a Self-Hosted Project](https://www.8thwall.com/docs/guides/modules/importing-cloud-editor/#importing-modules-into-a-self-hosted-project)

---

<div class="post-metadata">

**Author:** ![James\_Kane](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@James\_Kane](https://forum.8thwall.com/u/James_Kane)\
**Post date:** [July 15, 2024, 6:43pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/3 "2024-07-15T18:43:47Z")

</div>

Thank you! I’d missed that documentation, that is great.

As a follow-up, am I correct that the lightship-maps module is exclusively for use in A-Frame projects? Our studio is defaulting more and more to react-three/fiber, but it seems like the module documentation is solely for A-Frame. If so, is there any chance that could change in the future to support more frameworks? Also, is there an A-Frame version lock-in w/ the lightship-maps module? A few of the examples are on A-Frame 1.4.1, for instance - would we run into errors on the latest version?

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [July 15, 2024, 7:07pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/4 "2024-07-15T19:07:39Z")

</div>

There is a three.js section in the Maps readme if you scroll down further. Hope this helps!

---

<div class="post-metadata">

**Author:** ![Paradowski\_Creative](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/paradowski_creative/32/811_2.png) [@Paradowski\_Creative](https://forum.8thwall.com/u/Paradowski_Creative)\
**Post date:** [July 22, 2024, 3:55pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/5 "2024-07-22T15:55:01Z")

</div>

Thanks @TonyT - I noticed that section of the docs but just assumed those three.js methods were for use _within_ A-Frame components.

So are you confirming we could import the module and create/build the map in a pure three.js (maybe even on a newer version), without the A-Frame abstraction? Or am I misunderstanding?

---

<div class="post-metadata">

**Author:** ![TonyT](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/tonyt/32/88_2.png) [@TonyT](https://forum.8thwall.com/u/TonyT)\
**Post date:** [July 24, 2024, 11:03pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/6 "2024-07-24T23:03:18Z")

</div>

Yes, that’s correct. You can use the module with either AFrame projects, or pure three.js projects.

---

<div class="post-metadata">

**Author:** ![Paradowski\_Creative](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/paradowski_creative/32/811_2.png) [@Paradowski\_Creative](https://forum.8thwall.com/u/Paradowski_Creative)\
**Post date:** [July 25, 2024, 5:32pm UTC](https://forum.8thwall.com/t/local-development-with-lightship-maps-module/2085/7 "2024-07-25T17:32:10Z")

</div>

@TonyT awesome, thanks. If we did that, would we still be locked into the `super-three` three.js fork of r137 that lightship-maps uses, correct? Our initial attempts to upgrade that failed. Any chance you all would maintain or update that over time?
