GithubHelp home page GithubHelp logo

vitroz / mapainterativojs Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 11.0 110 KB

Mapa Interativo do Brasil separado por Estados em Javascript, utilizando a biblioteca open-source Geo Charts da Google

HTML 12.86% CSS 87.14%

mapainterativojs's People

Contributors

quinhone avatar vitroz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mapainterativojs's Issues

Update

de: if(unidades[dicEstados[message]] != undefined){

para: if(unidades[dicEstados[message]][i] != undefined){

linha 227 index.html

Fiz pull request

Limitação de resultado solução

Depois de muitos testes notei que se não estiver mais Estados dentro de unidades = { haverá uma limitação de exibição de conteúdo, acredito que seja um Bug.
Adicionei 9 lojas no Estado Acre porém quando selecionava só mostrava 4, fazendo testes coloquei todos os Estados dentro de unidades sem dados e consegui exibir todas as lojas quando selecionado no mapa ou select.

unidades = {
          'Acre': 
          {
            '0' : 
            {
              'Store' : 'Store1',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '1' :
            {
              'Store' : 'Store2',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '2' :
            {
              'Store' : 'Store3',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '3' :
            {
              'Store' : 'Store4',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '4' :
            {
              'Store' : 'Store5',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '5' :
            {
              'Store' : 'Store6',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '6' :
            {
              'Store' : 'Store7',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '7' :
            {
              'Store' : 'Store8',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '8' :
            {
              'Store' : 'Store9',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }
          }, 
          'Alagoas':
          {
          },
          'Amapa':
          {
          },
          'Amazonas':
          {
          },
          'Bahia':
          {
          },
          'Ceara':
          {
          },
          'Distrito Federal':
          {
          },
          'Espirito Santo':
          {
          },
          'Goias':
          {
          },
          'Maranhao':
          {
          },
          'Mato Grosso':
          {
          },
          'Mato Grosso do Sul':
          {
          },
          'Minas Gerais':
          {
          },
          'Para':
          {
          },
          'Paraiba':
          {
          },
          'Parana':
          {
          },
          'Pernambuco':
          {
          },
          'Piaui':
          {
          },
          'Rio de janeiro':
          {
          },
          'Rio Grande do Norte':
          {
          },
          'Rio Grande do Sul':
          {
          },
          'Rondonia':
          {
          },
          'Roraima':
          {
          },
          'Santa Catarina':
          {
          },
         
          'Sao Paulo':
          {
            '0' : 
            {
              'Store' : 'Store9',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }, '1' :
            {
              'Store' : 'Store10',
              'Phone' : '0000-0000',
              'Address' : 'Address'
            }
        
          }
        }

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.