8000 Layer not visible on Map · Issue #23 · astrosat/windgl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Layer not visible on Map #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pandeyshashank opened this issue Sep 17, 2019 · 3 comments
Open

Layer not visible on Map #23

pandeyshashank opened this issue Sep 17, 2019 · 3 comments

Comments

@pandeyshashank
Copy link

Added the sampleFill and particles layer on map. But it's not showing on the map. However I am able to get the layer with map.getLayer but not on map.

Screen Shot 2019-09-17 at 1 29 27 PM

@pandeyshashank
Copy link
Author

used the same data that is used in the demo

@owl1n
Copy link
owl1n commented Dec 21, 2019

Did u fix it?

@scottbasgaard
Copy link

Same issue:

const  => {
    const { target: map } = e;

    map.addLayer(particles({
      id: 'particles',
      source: windSource,
    }));
  };

  return (
    <div className="map-container">
      <DeckGL
        ref={deckRef}
        layers={renderLayers()}
        effects={[lightingEffect]}
        initialViewState={viewport}
        controller
        
      >
        {_glState && (
          <StaticMap
             => onMapLoad}
            mapStyle={MAPBOX_STYLE}
            mapboxApiAccessToken={MAPBOX_TOKEN}
          />
        )}
        <Icon menus updateMenus={updateMenus} />
      </DeckGL>
    </div>
  );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0