Coder Social home page Coder Social logo

Map, search tab,center marker and geolocation are perfect, but location markers are not displayed about azuremapscodesamples HOT 5 CLOSED

azure-samples avatar azure-samples commented on August 10, 2024
Map, search tab,center marker and geolocation are perfect, but location markers are not displayed

from azuremapscodesamples.

Comments (5)

rbrundritt avatar rbrundritt commented on August 10, 2024

Do you see any error messages in the console? Are you hosting the sample or simply running it from the file directory. If running it from file directory, the browser won't let it access the local files for data/images. Something as simple as being unable to load the coffee image would result in your issue.

Note, the issues tab of this repo are for issues with the code sample site this repo is for. For any technical queries/debugging issues, please use the developer forums: https://docs.microsoft.com/en-us/answers/topics/azure-maps.html

from azuremapscodesamples.

Sreeja-Veeramreddy avatar Sreeja-Veeramreddy commented on August 10, 2024

There are no errors in the console. And if the app logo was accessed, then why not the data

from azuremapscodesamples.

rbrundritt avatar rbrundritt commented on August 10, 2024

The app logo is hosted on the internet, while your data and image files appear to be hosted locally based on the URL's in your code. Have you tried adding break points in your code to ensure data is being loaded and added to the data source? Have you added a breakpoint inside the callback function that loads the coffee image to ensure that was loading?

from azuremapscodesamples.

Sreeja-Veeramreddy avatar Sreeja-Veeramreddy commented on August 10, 2024

Though I have changed The URL to the store location data to drive link, the problem remains the same.

from azuremapscodesamples.

rbrundritt avatar rbrundritt commented on August 10, 2024

Have you verified that all files are loading in the network tab of the developer tools in the browser? Have you tried stepping through the code with breakpoints to verify data is being loaded, added to a data source, and layers are being added to the map?

from azuremapscodesamples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.