Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Certified OpenLayers/MapLibre User Β· Lesson 6 of 6

Project Integration and Deployment – Sharing Your Map with the World

πŸ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
6
Module Five Β· Certified OpenLayers/MapLibre User

πŸ“˜ Module Five: Project Integration and Deployment – Sharing Your Map with the World

🌟 Module Introduction

Welcome back, map maker! You have come a long way. In Module One, you made your first map. In Module Two, you added data sources and layers. In Module Three, you styled your map to make it beautiful. In Module Four, you made your map interactive with clicks, popups, and controls.

Now your map is powerful. But there is one big problem. Your map is sitting on your computer. Only you can see it. How do you share it with your friends, your family, or the whole world? That is what this module is about.

We will learn about integration and deployment. Integration means putting your map inside a bigger website or app. Maybe you want your map to be part of a React or Vue project. Deployment means putting your map on the internet so anyone can visit it. We will learn how to build your project and publish it online for free.

We will keep using simple words and lots of examples. By the end, you will have your map live on the internet. Let’s get your map out into the world!

🎯 Learning Objectives

After you finish this module, you will be able to:

  • Explain what integration and deployment mean.
  • Put a map inside a React component.
  • Put a map inside a Vue component.
  • Understand the difference between development and production.
  • Use a build tool like Vite to bundle your project.
  • Handle MapLibre worker files when building.
  • Deploy a static map to GitHub Pages.
  • Understand server-side deployment options.
  • Make your map work well on mobile phones.
  • Avoid common deployment mistakes.
  • Feel proud to share your map with the world.

πŸ“– Warm-up Story: Ada and the Invisible Map

Ada lived in Abuja. She had built an amazing map of all the libraries in her city. It had colours, popups, and even a draw tool. She was very proud of it. But there was one problem. The map only worked on her own laptop. When she showed it to her friends, they said, β€œWe want to see it too! Send us the link.”

Ada did not have a link. Her map was just a file on her computer. It was invisible to everyone else. She felt sad. Then her older brother said, β€œAda, you need to deploy your map. You need to put it on the internet.”

Ada learned about GitHub Pages. She uploaded her files, clicked a few buttons, and waited. A few minutes later, she had a link: https://ada-maps.github.io/libraries. She sent it to her friends. They opened it on their phones. They could see her map! They could click and draw. Ada was so happy. Her map was no longer invisible. It was live for the whole world to see.

Moral of the story: A map on your computer is a secret. A deployed map is a gift to the world.

πŸ“š Main Lessons

Lesson 1: What is Integration?

Definition: Integration means putting your map inside a bigger project. That project could be a website, a mobile app, or a dashboard.

Why it is important: Maps rarely live alone. They are usually part of a bigger system.

Simple explanation: Imagine your map is a puzzle piece. Integration is fitting that piece into a bigger puzzle.

Real-life example: A delivery app has a map inside its order tracking page.

School example: A school website has a map showing the location of the school.

Home example: A family blog has a map showing where the family has travelled.

Nigerian example: A news website has a map showing election results by state.

Illustration:

  +---------------------+
  |  BIGGER PROJECT     |
  |  +---------------+  |
  |  |  YOUR MAP     |  |
  |  +---------------+  |
  +---------------------+
  

Mini summary: Integration means putting your map inside a bigger project.

Lesson 2: What is Deployment?

Definition: Deployment means putting your project on the internet so anyone can visit it.

Why it is important: A map on your computer helps only you. A deployed map helps everyone.

Simple explanation: Deployment is like moving your shop from your bedroom to the market. Now people can find you.

Real-life example: When a new app appears in the app store, it has been deployed.

School example: When your teacher posts homework on the school website, it is deployed.

Home example: When you upload a photo to social media, it is deployed.

Nigerian example: When a Nigerian business puts its website online, it is deployed.

Illustration:

  Your Computer
       |
       V
  Upload to Internet
       |
       V
  +---------------------+
  |  Live Website       |
  |  Anyone can visit   |
  +---------------------+
  

Mini summary: Deployment puts your map on the internet. It becomes live for everyone.

Lesson 3: Development vs Production

Definition: Development is when you are building and testing. Production is when your project is live for real users.

Why it is important: The two environments are different. What works in development may need changes for production.

Simple explanation: Development is like practising a play. Production is the actual performance.

Real-life example: A restaurant tests a new dish in the kitchen (development) before adding it to the menu (production).

School example: You write a draft essay (development), then submit the final version (production).

Home example: You try a new recipe for your family (development), then cook it for guests (production).

Nigerian example: A fashion designer makes a sample outfit (development), then sells it in the shop (production).

Table: Development vs Production

FeatureDevelopmentProduction
Who sees it?Only youEveryone
PurposeBuilding and testingReal use
SpeedCan be slowMust be fast
MistakesOkay to makeMust be avoided

Mini summary: Development is for building. Production is for real users. They are different.

Lesson 4: Putting a Map in a React Component

Definition: React is a popular tool for building websites. A component is a small piece of a website.

Why it is important: Many modern websites use React. You need to know how to put a map inside one.

Simple explanation: You create a component called MapComponent. Inside it, you use useRef to hold the map container. Then you create the map in useEffect.

Real-life example: A real estate website uses a React component to show house locations.

School example: A school dashboard shows a map of the campus using React.

Home example: A family website shows a map of relatives using React.

Nigerian example: A Lagos traffic app uses React to show live traffic maps.

Example code:

  import React, { useRef, useEffect } from 'react';
  import Map from 'ol/Map';
  import View from 'ol/View';
  import TileLayer from 'ol/layer/Tile';
  import OSM from 'ol/source/OSM';

  function MapComponent() {
    const mapRef = useRef();

    useEffect(() => {
      new Map({
        target: mapRef.current,
        layers: [new TileLayer({ source: new OSM() })],
        view: new View({ center: [0, 0], zoom: 2 })
      });
    }, []);

    return <div ref={mapRef} style={{ width: '100%', height: '400px' }}></div>;
  }
  

Illustration:

  React Component
       |
       V
  useRef (container)
       |
       V
  useEffect (create map)
       |
       V
  Map appears!
  

Mini summary: In React, you use useRef and useEffect to create a map inside a component.

Lesson 5: Putting a Map in a Vue Component

Definition: Vue is another popular tool for building websites. It also uses components.

Why it is important: Many websites use Vue. You need to know how to put a map inside one.

Simple explanation: You create a Vue component with a div for the map. In onMounted, you create the map.

Real-life example: A travel blog uses Vue to show a map of destinations.

School example: A school portal shows a map of the campus using Vue.

Home example: A family recipe site shows where ingredients come from using Vue.

Nigerian example: A Nigerian tourism site uses Vue to show attractions.

Example code:

  <template>
    <div ref="mapContainer" style="width: 100%; height: 400px;"></div>
  </template>

  <script>
  import { onMounted, ref } from 'vue';
  import Map from 'ol/Map';
  import View from 'ol/View';
  import TileLayer from 'ol/layer/Tile';
  import OSM from 'ol/source/OSM';

  export default {
    setup() {
      const mapContainer = ref(null);

      onMounted(() => {
        new Map({
          target: mapContainer.value,
          layers: [new TileLayer({ source: new OSM() })],
          view: new View({ center: [0, 0], zoom: 2 })
        });
      });

      return { mapContainer };
    }
  };
  </script>
  

Illustration:

  Vue Component
       |
       V
  ref (container)
       |
       V
  onMounted (create map)
       |
       V
  Map appears!
  

Mini summary: In Vue, you use ref and onMounted to create a map inside a component.

Lesson 6: What is a Build Tool?

Definition: A build tool takes your code and prepares it for the internet. It bundles files, makes them smaller, and fixes problems.

Why it is important: Browsers cannot understand all your code directly. Build tools prepare it.

Simple explanation: A build tool is like a chef. It takes raw ingredients and prepares a beautiful meal.

Real-life example: When you order food online, the kitchen prepares it before delivery.

School example: You write rough notes (code), then write a neat final copy (build).

Home example: You wash and cut vegetables (build) before cooking.

Nigerian example: A tailor takes fabric (code) and sews a complete outfit (build).

Illustration:

  Your Code
      |
      V
  Build Tool (Vite)
      |
      V
  Bundled Files
      |
      V
  Ready for Internet
  

Mini summary: A build tool prepares your code for the internet. Vite is a popular one.

Lesson 7: Using Vite to Build Your Project

Definition: Vite is a fast build tool for modern web projects.

Why it is important: Vite is easy to use and very fast. It is great for beginners.

Simple explanation: You run a command, and Vite creates a dist folder with all your files ready to deploy.

Real-life example: A factory takes raw materials and produces finished goods.

School example: You gather all your notes and make a study guide.

Home example: You pack everything you need for a trip into one suitcase.

Nigerian example: A caterer prepares all the food for a party and packs it neatly.

Steps:

  1. Open your terminal.
  2. Type npm run build.
  3. Wait for Vite to finish.
  4. Look for the dist folder.
  5. That folder contains your ready-to-deploy files.

Illustration:

  Terminal
     |
     V
  npm run build
     |
     V
  dist/ folder created
     |
     V
  Ready to deploy!
  

Mini summary: Vite builds your project into a dist folder. That folder is ready for the internet.

Lesson 8: Handling MapLibre Worker Files

Definition: MapLibre uses a worker file to do heavy work in the background. The worker file must be included in your build.

Why it is important: If the worker file is missing, your MapLibre map will not work after deployment.

Simple explanation: The worker is like a helper. It does the hard work so the map stays fast. You must make sure the helper comes with you.

Real-life example: When you move to a new house, you must remember to pack your tools.

School example: When you go to an exam, you must bring your pen and calculator.

Home example: When you travel, you must bring your charger.

Nigerian example: When you travel to the village, you must bring your generator fuel.

Solution: Use a plugin like vite-plugin-maplibre-gl or copy the worker file to your public folder.

Illustration:

  MapLibre Map
       |
       V
  Needs Worker File
       |
       V
  Include in Build
       |
       V
  Map Works!
  

Mini summary: MapLibre needs its worker file. Make sure it is included in your build.

Lesson 9: Deploying to GitHub Pages

Definition: GitHub Pages is a free service that hosts websites. You can put your map there.

Why it is important: It is free and easy. You do not need to pay for hosting.

Simple explanation: You create a GitHub repository. You push your code. You turn on GitHub Pages. Your site is live.

Real-life example: Many open-source projects have their websites on GitHub Pages.

School example: A school club can host its website on GitHub Pages.

Home example: You can host your family blog on GitHub Pages.

Nigerian example: A Nigerian student can host a portfolio website on GitHub Pages for free.

Steps:

  1. Create a GitHub account.
  2. Create a new repository.
  3. Push your code to the repository.
  4. Go to Settings β†’ Pages.
  5. Select the branch (usually main) and folder (usually /root or /docs).
  6. Click Save.
  7. Wait a few minutes. Your site is live at https://yourusername.github.io/repository.

Illustration:

  GitHub Repository
       |
       V
  Settings β†’ Pages
       |
       V
  Select branch
       |
       V
  Site is live!
       |
       V
  Share the link πŸŽ‰
  

Mini summary: GitHub Pages is a free way to host your map. It is easy to set up.

Lesson 10: Other Static Hosting Options

Definition: Static hosting means hosting files that do not change. Your map is usually a static site.

Why it is important: There are many free options besides GitHub Pages.

Simple explanation: You can use Netlify, Vercel, or Cloudflare Pages. They are all free for small projects.

Real-life example: Many companies use Netlify for their websites.

School example: A school project can be hosted on Netlify.

Home example: A family photo site can be hosted on Vercel.

Nigerian example: A Nigerian startup can host its landing page on Cloudflare Pages.

Table: Static Hosting Options

ServiceFree?Best for
GitHub PagesYesSimple projects
NetlifyYesModern sites
VercelYesReact/Vue apps
Cloudflare PagesYesFast global sites

Mini summary: Many free static hosting options exist. GitHub Pages, Netlify, Vercel, and Cloudflare Pages are all good.

Lesson 11: Server-Side Deployment – When You Need a Backend

Definition: Sometimes your map needs a server. A server can store data, handle users, or run calculations.

Why it is important: If your map needs a database, static hosting is not enough.

Simple explanation: A static site is like a poster. A server-side site is like a shop with a shopkeeper.

Real-life example: A ride-hailing app needs a server to match riders with drivers.

School example: A school portal needs a server to store student grades.

Home example: A family budget app needs a server to store expenses.

Nigerian example: A Nigerian e-commerce site needs a server to process payments.

Illustration:

  User
    |
    V
  +---------------------+
  |  Server             |
  |  - Database         |
  |  - Logic            |
  +---------------------+
    |
    V
  Map with live data
  

Mini summary: Server-side deployment is needed when your map uses a database or live data.

Lesson 12: Deploying a Server-Side App

Definition: You can deploy a server-side app on platforms like Heroku, Render, or Railway.

Why it is important: These platforms make it easy to run a server without managing hardware.

Simple explanation: You push your code. The platform runs it. You get a URL.

Real-life example: Many startups use Heroku to launch quickly.

School example: A school project can use Render to host a simple API.

Home example: A family app can use Railway to store data.

Nigerian example: A Nigerian developer can use Render to host a map API for a client.

Steps:

  1. Create an account on the platform.
  2. Connect your GitHub repository.
  3. Choose the branch to deploy.
  4. Set environment variables if needed.
  5. Click Deploy.
  6. Wait for the build to finish.
  7. Your app is live!

Illustration:

  GitHub Repo
       |
       V
  Platform (Heroku/Render)
       |
       V
  Build & Run
       |
       V
  Live URL
  

Mini summary: Server-side apps can be deployed on Heroku, Render, or Railway. They handle the server for you.

Lesson 13: Making Your Map Mobile-Friendly

Definition: Mobile-friendly means your map works well on phones and tablets.

Why it is important: Most people use phones to browse the internet.

Simple explanation: Your map should resize to fit the screen. Buttons should be big enough to tap. Text should be readable.

Real-life example: Google Maps works on both phones and computers.

School example: A school map should be easy to use on a tablet.

Home example: Your family map should work on your parents’ phones.

Nigerian example: A map of Lagos should work on a small phone with a slow connection.

Tips:

  • Use a responsive container: width: 100%; height: 100vh;.
  • Make buttons at least 44 pixels tall for easy tapping.
  • Test on a real phone, not just a computer.
  • Optimise images and tiles for slow connections.

Illustration:

  +-------------+
  |  Phone      |
  |  +-------+  |
  |  |  MAP  |  |
  |  +-------+  |
  |  [πŸ”+] [πŸ”-]|
  +-------------+
  

Mini summary: Make your map work on phones. Use responsive sizes and big buttons.

Lesson 14: Testing Your Deployed Map

Definition: After deployment, you must test your map on the live internet.

Why it is important: Things that work locally may fail online. You must check.

Simple explanation: Open your live URL. Click everything. Zoom in and out. Try on different devices.

Real-life example: Before a concert, the band does a sound check.

School example: Before a presentation, you practise in front of a mirror.

Home example: Before serving food, you taste it.

Nigerian example: Before a wedding, the family does a rehearsal.

Checklist:

  • Does the map load?
  • Do popups work?
  • Do controls work?
  • Does it work on a phone?
  • Are there any error messages in the console?

Illustration:

  Deploy
     |
     V
  Open live URL
     |
     V
  Test everything
     |
     V
  Fix problems
     |
     V
  Test again
     |
     V
  Celebrate πŸŽ‰
  

Mini summary: Always test your deployed map. Check on different devices and fix any problems.

Lesson 15: Sharing Your Map with the World

Definition: Sharing means sending your map link to others.

Why it is important: A map is meant to be used. Sharing is the final step.

Simple explanation: Copy your URL. Send it to friends, family, and teachers. Post it on social media.

Real-life example: When a new website launches, the team shares the link everywhere.

School example: You share your school project map with your teacher and classmates.

Home example: You share your family map with relatives.

Nigerian example: You share your map of local markets with your community.

Illustration:

  Your Map URL
       |
       V
  +---------------------+
  |  Share on:          |
  |  - WhatsApp         |
  |  - Email            |
  |  - Social Media     |
  |  - School Website   |
  +---------------------+
  

Mini summary: Share your map link with the world. You built something amazing!

πŸ“– Key Vocabulary

WordSimple Definition
IntegrationPutting your map inside a bigger project.
DeploymentPutting your project on the internet.
DevelopmentBuilding and testing your project.
ProductionThe live version for real users.
ReactA tool for building websites with components.
VueAnother tool for building websites.
Build toolPrepares your code for the internet.
ViteA fast build tool.
Worker fileA helper file for MapLibre.
GitHub PagesA free hosting service.
Static hostingHosting files that do not change.
Server-sideUsing a server for data and logic.
Mobile-friendlyWorks well on phones and tablets.

πŸ”‘ Important Concepts

  • Integration puts maps in bigger projects: React and Vue are common.
  • Deployment puts maps online: GitHub Pages is free and easy.
  • Development and production are different: Test before you go live.
  • Build tools prepare your code: Vite is fast and simple.
  • Worker files are important: MapLibre needs them.
  • Mobile-friendly is a must: Most users are on phones.
  • Always test after deployment: Fix problems before sharing.

🧭 Step-by-Step Explanations

How to deploy to GitHub Pages

  1. Create a GitHub account and repository.
  2. Push your code to the repository.
  3. Run npm run build to create the dist folder.
  4. Push the dist folder to a branch called gh-pages.
  5. Go to Settings β†’ Pages.
  6. Select the gh-pages branch.
  7. Save. Wait a few minutes.
  8. Your site is live at https://yourusername.github.io/repository.

How to handle MapLibre worker in Vite

  1. Install the plugin: npm install vite-plugin-maplibre-gl.
  2. Add the plugin to your vite.config.js.
  3. Build your project.
  4. The worker file is automatically included.
  5. Deploy the dist folder.

🌍 Real-life Examples

  • Google Maps is deployed on the internet.
  • Uber uses React for its web app.
  • Many weather apps use Vue.
  • Open-source projects use GitHub Pages.
  • Startups use Vercel and Netlify.

πŸ‡³πŸ‡¬ Nigerian Examples

  • A Nigerian student deploys a map of local markets on GitHub Pages.
  • A Lagos startup uses React to build a traffic map.
  • A school in Abuja uses Vue for its campus map.
  • A Nigerian NGO uses Netlify to host a health map.
  • A developer in Port Harcourt uses Render to host a map API.

🎈 Fun Examples Children Can Relate To

  • Sharing your treasure map with friends online.
  • Making a map of your school and putting it on the school website.
  • Creating a map of your favourite game and sharing it.
  • Making a map of your neighbourhood and sending it to your cousins.
  • Building a map of your family’s favourite places and showing your grandparents.

🏠 Everyday Examples

  • Sharing a Google Maps link with a friend.
  • Using a website that shows a map of restaurants.
  • Checking a school website for a campus map.
  • Using a mobile app that shows your location.
  • Visiting a tourism website with an interactive map.

πŸ‘¨β€πŸ‘©β€πŸ‘§ Parent Tips

  • Help your child create a GitHub account (with your supervision).
  • Encourage them to test their map on your phone.
  • Celebrate when their map goes live.
  • Share their map with family and friends.
  • Remind them that deployment is a big achievement.

πŸ’‘ Interesting Facts

  • GitHub Pages hosts over 1 million websites.
  • React was created by Facebook in 2013.
  • Vue was created by Evan You in 2014.
  • Vite was created in 2020 and is very fast.
  • Over 50% of web traffic comes from mobile phones.

πŸ€” Did You Know?

  • Did you know that you can deploy a website for free?
  • Did you know that GitHub Pages gives you a free URL?
  • Did you know that React and Vue are used by millions of websites?
  • Did you know that Vite builds your project in seconds?
  • Did you know that MapLibre needs a worker file to work?

πŸ“Œ Remember This

  • Integration means putting your map in a bigger project.
  • Deployment means putting your map on the internet.
  • React and Vue are popular for integration.
  • Vite is a fast build tool.
  • GitHub Pages is free and easy.
  • MapLibre needs its worker file.
  • Always test after deployment.
  • Share your map with the world.

⚠️ Common Mistakes

  • Forgetting to build before deploying.
  • Forgetting to include the MapLibre worker file.
  • Not testing on a mobile phone.
  • Using the wrong branch for GitHub Pages.
  • Not checking the console for errors.

βœ… Best Practices

  • Always run npm run build before deploying.
  • Test your map on multiple devices.
  • Use a plugin for MapLibre worker files.
  • Keep your repository organised.
  • Write a README to explain your project.
  • Share your map and ask for feedback.

πŸ“Š Illustrations, Diagrams, and Tables

Flowchart: From Code to Live Map

  Write Code
      |
      V
  Test Locally
      |
      V
  Build (npm run build)
      |
      V
  Deploy (GitHub Pages)
      |
      V
  Test Live
      |
      V
  Share Link πŸŽ‰
  

Timeline: Your Map’s Journey

  Module 1: First Map
  Module 2: Data & Layers
  Module 3: Style & Smart Maps
  Module 4: Interaction
  Module 5: Integration & Deployment
  Now: Your map is live!
  

Table: Deployment Options Compared

OptionFree?Best forDifficulty
GitHub PagesYesStatic sitesEasy
NetlifyYesModern sitesEasy
VercelYesReact/Vue appsEasy
Cloudflare PagesYesFast global sitesMedium
HerokuNoServer-side appsMedium
RenderYes (limited)Server-side appsMedium

Comparison Table: React vs Vue

FeatureReactVue
Created byFacebookEvan You
Year20132014
Learning curveMediumEasy
PopularityVery highHigh
Map integrationuseRef + useEffectref + onMounted

πŸ“ Summary After Every Lesson

Lesson 1: Integration means putting your map inside a bigger project.

Lesson 2: Deployment means putting your map on the internet.

Lesson 3: Development is for building. Production is for real users.

Lesson 4: In React, you use useRef and useEffect to create a map.

Lesson 5: In Vue, you use ref and onMounted to create a map.

Lesson 6: A build tool prepares your code for the internet.

Lesson 7: Vite builds your project into a dist folder.

Lesson 8: MapLibre needs its worker file in the build.

Lesson 9: GitHub Pages is a free way to host your map.

Lesson 10: Netlify, Vercel, and Cloudflare Pages are other free options.

Lesson 11: Server-side deployment is needed for databases and live data.

Lesson 12: Heroku, Render, and Railway host server-side apps.

Lesson 13: Make your map mobile-friendly.

Lesson 14: Always test your deployed map.

Lesson 15: Share your map with the world.

πŸ“¦ End-of-Module Summary

In this module, you learned how to take your map from your computer and share it with the world. You discovered integration – putting your map inside React and Vue projects. You learned about deployment – putting your map on the internet using GitHub Pages and other free services. You explored build tools like Vite, and you learned how to handle MapLibre’s worker file. You also learned about server-side deployment for when you need a database. Finally, you learned how to make your map mobile-friendly and how to test and share it. Your map is now live for everyone to see. You are a certified map maker!

❓ Frequently Asked Questions (10 questions)

  1. What is integration? Putting your map inside a bigger project.
  2. What is deployment? Putting your project on the internet.
  3. What is the difference between development and production? Development is for building. Production is for real users.
  4. How do I put a map in React? Use useRef and useEffect.
  5. How do I put a map in Vue? Use ref and onMounted.
  6. What is a build tool? A tool that prepares your code for the internet.
  7. What is Vite? A fast build tool.
  8. Why does MapLibre need a worker file? To do heavy work in the background.
  9. What is GitHub Pages? A free hosting service.
  10. Why should I test my deployed map? To find and fix problems before users see them.

πŸ”— Matching Exercises

Match the word to its meaning.

WordMeaning
1. IntegrationA. Putting your project on the internet
2. DeploymentB. A fast build tool
3. ViteC. Putting your map in a bigger project
4. GitHub PagesD. A helper file for MapLibre
5. WorkerE. A free hosting service

Answers: 1-C, 2-A, 3-B, 4-E, 5-D

🧩 Scenario-based Exercises

  1. You want to put your map inside a React website. What do you use? (useRef and useEffect)
  2. You want to put your map online for free. What service do you use? (GitHub Pages)
  3. Your MapLibre map is not working after deployment. What did you forget? (Worker file)
  4. You want to build your project. What command do you run? (npm run build)
  5. You want to make sure your map works on phones. What do you do? (Test on a mobile device)

πŸ‘₯ Group Activity

Title: Deploy a Group Map

Instructions: In groups of 3, create a simple map with at least three points. Build it with Vite. Deploy it to GitHub Pages. Share the link with the class. Discuss what worked and what was difficult.

πŸ§‘ Individual Activity

Title: My First Deployment

Instructions: Take a map you built in a previous module. Build it with Vite. Deploy it to GitHub Pages. Write down the URL. Test it on your phone. Share it with a friend.

πŸ› οΈ Mini Project

Title: A Live Map of My Favourite Places

Instructions: Create an HTML file with a map. Add at least five points of interest. Add popups and a zoom control. Build the project with Vite. Deploy it to GitHub Pages. Share the link with your family and friends.

πŸ“‹ Practical Assignment

Task: Write a short paragraph (5 sentences) explaining what you learned about integration and deployment. Then, list three things you found easy and one thing you found hard. Finally, write down the URL of your deployed map.

πŸ”‘ Key Takeaways

  • Integration means putting your map inside a bigger project.
  • Deployment means putting your map on the internet.
  • React and Vue are popular for integration.
  • Vite is a fast build tool.
  • GitHub Pages is a free hosting service.
  • MapLibre needs its worker file.
  • Make your map mobile-friendly.
  • Always test after deployment.
  • Share your map with the world.

πŸ’¬ Classroom Discussion Questions

  1. Why is deployment important?
  2. What is the difference between development and production?
  3. How can you share your map with others?
  4. What problems might happen after deployment?
  5. Why is it important to test on a phone?

➑️ Preparation for the Next Module

Congratulations! You have completed all five modules of the Certified OpenLayers/MapLibre User course. In the next steps, you can:

  • Build more complex maps with real data.
  • Learn about advanced styling and expressions.
  • Explore server-side development for dynamic maps.
  • Contribute to open-source mapping projects like OpenStreetMap.
  • Teach others what you have learned.

You are now a certified map maker. Go and map the world! πŸš€


End of Module Five Β· Certified OpenLayers/MapLibre User

πŸ† Get Certified

πŸ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

πŸŽ“ Sign Up to Get Certified
πŸ› οΈ Practice Tools
Hands-on simulators & labs - subscription required.
β†’
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
β†’