Jquery Mobile not loading Google Map (except on refresh)

前端 未结 6 1822
温柔的废话
温柔的废话 2021-02-06 02:52

I\'m using Jquery Mobile 1.0 and Google Maps v3 to load a user location map. The map loads fine when accessed via direct url but when accessed from a link, it chokes up and not

6条回答
  •  孤城傲影
    2021-02-06 03:10

    I encountered the same issue and couldn't fixed it with JQM event's model.

    Finally I fixed it by adding rel="external" to all the anchors that are linking to a page with a google map. This solution desactivates pages transitions and preloaders.

    Quick and dirty but... it works now.

提交回复
热议问题